Skip to content

Commit

Permalink
Let pandas choose backend itself
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Jun 8, 2023
1 parent a1c25b7 commit 6b207c9
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 6b207c9

Please sign in to comment.