Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.18 KB

File metadata and controls

42 lines (28 loc) · 1.18 KB

Connecting Python and Apache DataFusion with ADBC

Instructions

Prerequisites

  1. Install uv

  2. Install dbc

Connect to DataFusion

  1. Install the DataFusion ADBC driver:

    dbc install datafusion
  2. Customize the Python script main.py as needed

    • Change the SQL SELECT statement in cursor.execute(), or keep it set to SELECT * FROM 'games.parquet'; to query the Parquet file included with this example
  3. Run the Python script:

    uv run main.py