From 6b207c9401301ebbf74a03200fc47edf5a35e7d9 Mon Sep 17 00:00:00 2001 From: auxten Date: Thu, 8 Jun 2023 07:09:27 +0000 Subject: [PATCH] Let pandas choose backend itself --- chdb/dataframe/query.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chdb/dataframe/query.py b/chdb/dataframe/query.py index 64d43fa6f65..6c83e8d57a0 100644 --- a/chdb/dataframe/query.py +++ b/chdb/dataframe/query.py @@ -186,10 +186,7 @@ def _run_on_temp(self, fd: int, temp_path: str = None, sql: str = None, fmt: str def pandas_read_parquet(path) -> pd.DataFrame: - if pd.__version__[0] >= '1': - return pd.read_parquet(path, engine='pyarrow', dtype_backend='pyarrow') - else: - return pd.read_parquet(path) + return pd.read_parquet(path) def memfd_create(name: str = None) -> int: