EasyDB 是一个由 Rust 编写的 SQL 助手,旨在简化文本文件查询过程。通过 EasyDB,你可以将多个文本文件视为一个数据库,并使用 SQL 进行查询。它支持多种文件格式,包括 CSV、JSON 和 Parquet 文件,无需进行文件转换,开箱即用。
底层采用了由 Rust 编写的高性能可扩展查询引擎 DataFusion。
select * from '/path/example.csv' 直接访问本地文件,不需要提前 create tablegit clone https://github.com/shencangsheng/easy_db.git
cd easy_db
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
Content type
Image
Digest
sha256:8f5b8e660…
Size
59.5 MB
Last updated
over 1 year ago
docker pull shencangsheng/easydb-backend