Skip to content

Commit b4ee80b

Browse files
authored
Merge pull request #39 from chdb-io/fixReadParquet
Let pandas choose backend itself
2 parents 2dc0d31 + 6b207c9 commit b4ee80b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

chdb/dataframe/query.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,7 @@ def _run_on_temp(self, fd: int, temp_path: str = None, sql: str = None, fmt: str
186186

187187

188188
def pandas_read_parquet(path) -> pd.DataFrame:
189-
if pd.__version__[0] >= '1':
190-
return pd.read_parquet(path, engine='pyarrow', dtype_backend='pyarrow')
191-
else:
192-
return pd.read_parquet(path)
189+
return pd.read_parquet(path)
193190

194191

195192
def memfd_create(name: str = None) -> int:

0 commit comments

Comments
 (0)