https://github.com/monsterxx03/sqlpar
Explore parquet file with sql, without spark!
https://github.com/monsterxx03/sqlpar
goyacc parquet parquet-viewer sql
Last synced: about 1 month ago
JSON representation
Explore parquet file with sql, without spark!
- Host: GitHub
- URL: https://github.com/monsterxx03/sqlpar
- Owner: monsterxx03
- License: mit
- Created: 2020-09-05T13:03:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T07:57:50.000Z (over 5 years ago)
- Last Synced: 2024-06-20T17:53:11.266Z (over 1 year ago)
- Topics: goyacc, parquet, parquet-viewer, sql
- Language: Go
- Homepage:
- Size: 118 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sqlpar
Use sql to query parquet file
./sqlpar -file test.parquet
>> select user_id, age from test_schema where age > 1 limit 2
user_id age
abc 12
def 33
./sqlpar -file test.parquet -sql 'select user_id, age from test_schema where age > 1 limit 2'
user_id age
abc 12
def 33
## Features
- [x] Basic select statement
- [x] Where clause support AND, OR, NOT, operators: >, >=, <, <=, =, !=, <>
- [x] Limit clause
- [x] `show table` statement
- [] Order by clause
- [] Column As syntax
- [] Support nest column
- [] Group by clause
- [] Aggregate function
- [] Column function
- [] Export result as csv