mariosasko/datasets_sql

Issues with duckdb 0.9.1

Closed this issue · 1 comments

When I run the example provided in the README I get:

>>>  query("SELECT text FROM imdb_dset WHERE length(text) > 1000")

TypeError: fetch_record_batch(): incompatible function arguments. The following argument types are supported:
    1. (self: duckdb.duckdb.DuckDBPyConnection, rows_per_batch: int = 1000000) -> pyarrow.lib.RecordBatchReader

Invoked with: <duckdb.duckdb.DuckDBPyConnection object at 0x7fd13328c1f0>; kwargs: chunk_size=1000

Downgrading to duckdb<0.8.0 fixes the issue

Thanks for reporting! I've published a new release of the lib with a fix.