File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1- """
2- Install pyarrow, adbc-driver-manager and duckdb before running this example
3- This example currently can be run only with duckdb<=1.1.3, later vesions of duckdb no longer support substrait in adbc
4- """
1+ # Install pyarrow, adbc-driver-manager and duckdb before running this example
2+ # This example currently can be run only with duckdb<=1.1.3, later vesions of duckdb no longer support substrait in adbc
3+ # /// script
4+ # dependencies = [
5+ # "pyarrow==20.0.0",
6+ # "adbc-driver-manager==1.5.0",
7+ # "duckdb==1.1.3",
8+ # "substrait[extensions] @ file:///${PROJECT_ROOT}/"
9+ # ]
10+ # ///
11+
512
613import adbc_driver_duckdb .dbapi
714import pyarrow
Original file line number Diff line number Diff line change 1- """
2- Install duckdb and pyarrow before running this example
3- """
1+ # Install duckdb and pyarrow before running this example
2+ # /// script
3+ # dependencies = [
4+ # "pyarrow==20.0.0",
5+ # "duckdb==1.2.1",
6+ # "substrait[extensions] @ file:///${PROJECT_ROOT}/"
7+ # ]
8+ # ///
9+
410
511import duckdb
612from substrait .builders .plan import read_named_table , project , filter
You can’t perform that action at this time.
0 commit comments