Skip to content

Commit

Permalink
Merge pull request #39 from chdb-io/fixReadParquet
Browse files Browse the repository at this point in the history
Let pandas choose backend itself
  • Loading branch information
auxten authored Jun 8, 2023
2 parents 2dc0d31 + 6b207c9 commit b4ee80b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions chdb/dataframe/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b4ee80b

Please sign in to comment.