diff --git a/cratedb_toolkit/cfr/systable.py b/cratedb_toolkit/cfr/systable.py index 28f36aaa..55193fb1 100644 --- a/cratedb_toolkit/cfr/systable.py +++ b/cratedb_toolkit/cfr/systable.py @@ -130,7 +130,7 @@ def read_table(self, tablename: str) -> pl.DataFrame: logger.debug(f"Running SQL: {sql}") return pl.read_database( query=sql, # noqa: S608 - connection=self.adapter.engine, + connection=self.adapter.connection, infer_schema_length=1000, ) diff --git a/pyproject.toml b/pyproject.toml index 431f22f0..d83e76be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -114,7 +114,7 @@ all = [ "cratedb-toolkit[full,influxdb,mongodb]", ] cfr = [ - "pandas<2.2", + "pandas<2.3", "pyarrow<17.1", ] cloud = [ @@ -156,7 +156,7 @@ io = [ "cr8", "dask[dataframe]>=2020", "fsspec[s3,http]", - "pandas<3,>=1", + "pandas<2.3,>=1", "sqlalchemy>=2", "universal-pathlib<0.3", ] @@ -177,7 +177,7 @@ mongodb = [ ] pymongo = [ "jessiql==1.0.0rc1", - "pandas==2.1.*", + "pandas<2.2", "pymongo<4.9", "sqlalchemy<2", ]