A SQLite vtable extension to read Parquet files
Go to file
Colin Dellow 552da5a647 Initial checkin of CSV table
parquet.cc is a fork of the sample CSV virtual table at
https://www.sqlite.org/src/artifact?ci=trunk&filename=ext/misc/csv.c

So far the only changes are those needed to make it compile cleanly in
C++11 mode.
2018-03-02 18:59:34 -05:00
parquet Initial checkin of CSV table 2018-03-02 18:59:34 -05:00
.gitignore Add script to fetch+build sqlite 2018-03-02 18:46:40 -05:00
LICENSE Initial commit 2018-03-02 18:37:08 -05:00
README.md Initial checkin of CSV table 2018-03-02 18:59:34 -05:00
build-sqlite Add script to fetch+build sqlite 2018-03-02 18:46:40 -05:00

README.md

parquet-vtable

A SQLite virtual table extension to expose Parquet files as SQL tables.

Building

  1. Install parquet-cpp
  2. Run ./build-sqlite to fetch and build the SQLite dev bits
  3. Run ./parquet/make to build the module
  4. You will need to fixup the paths in this file to point at your local parquet-cpp folder.

Use

$ sqlite/sqlite3
sqlite> .load parquet/libparquet
sqlite> create virtual table demo USING parquet('demo.parquet');
sqlite> select * from demo limit 1;
...if all goes well, you'll see data here!...