-
Install the DataFusion ADBC driver:
dbc install --level user datafusion
-
Customize the C++ program
main.cppas needed- Change the SQL SELECT statement in
AdbcStatementSetSqlQuery(), or keep it set toSELECT * FROM 'games.parquet';to query the Parquet file included with this example
- Change the SQL SELECT statement in
-
Build and run the C++ program:
Using Make:
pixi run make ./datafusion_demo
Or using CMake:
pixi run cmake -B build pixi run cmake --build build ./build/datafusion_demo
-
Clean build artifacts:
Using Make:
pixi run make clean
Using CMake:
rm -rf build