简体中文 | English
“开箱即用”,使用 SQL
驱动 CSV
、JSON
、Parquet
文件,底层采用了由 Rust 编写的高性能可扩展查询引擎 DataFusion
。
- SQL 访问 CSV、JSON 文件
- 优化异常提示
- 根据路径自动识别表
- 自动生成 table schema
- 支持输出更多数据类型
- 支持
select * from '/path/example.csv'
直接访问本地文件,不需要提前create table
- 支持 s3 远程文件
- 支持多路径
git clone https://github.com/shencangsheng/easy_db.git
docker compose up -d
# http://127.0.0.1:8088
select * from '/var/lib/easydb/example/order*.csv';
create table user () location 'example/user.csv';
create table log () location 'example/2025*.log';
select *
from user as t1
inner join log as t2 on (t1.id id = t2.user_id)
这些开源库用于创建本项目。
A short snippet describing the license (MIT)
MIT © Cangsheng Shen