Skip to content

Commit

Permalink
LLCAXCHZF-58 / fix cache data as ORC file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmorev committed Sep 8, 2024
1 parent e6c351b commit f3561ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/charts/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class FileCacheORC(FileCache):
def read_data(self, file: File) -> pd.DataFrame | None:
from pyarrow import orc

return orc.ORCFile(file).read().to_pandas(all_rows=True)
return orc.ORCFile(file).read().to_pandas()

def write_data(self, file_path: str, data: pd.DataFrame) -> None:
for col in data.select_dtypes(include=["object"]).columns:
Expand Down

0 comments on commit f3561ec

Please sign in to comment.