Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Connecting Python and chDB with ADBC

Instructions

Note

The chDB ADBC driver supports Linux and macOS. Windows is not currently supported.

Prerequisites

  1. Install uv

  2. Install dbc

Connect to chDB

  1. Install the chDB ADBC driver:

    dbc install chdb
  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