From 330e5c6c2bb850fbd6b609d89b821af73e768f23 Mon Sep 17 00:00:00 2001 From: Anatoly Myachev Date: Fri, 26 Apr 2024 18:09:00 +0200 Subject: [PATCH] FIX-#7221: Don't use 'use_legacy_dataset=False' for 'ParquetDataset' Signed-off-by: Anatoly Myachev --- modin/core/io/column_stores/parquet_dispatcher.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modin/core/io/column_stores/parquet_dispatcher.py b/modin/core/io/column_stores/parquet_dispatcher.py index 62245d846b3..4d5bf393943 100644 --- a/modin/core/io/column_stores/parquet_dispatcher.py +++ b/modin/core/io/column_stores/parquet_dispatcher.py @@ -187,9 +187,7 @@ class PyArrowDataset(ColumnStoreDataset): def _init_dataset(self): # noqa: GL08 from pyarrow.parquet import ParquetDataset - return ParquetDataset( - self.fs_path, filesystem=self.fs, use_legacy_dataset=False - ) + return ParquetDataset(self.fs_path, filesystem=self.fs) @property def pandas_metadata(self):