Skip to content

Commit b1c9309

Browse files
committed
code format
Signed-off-by: haotian <haotian@ebay.com>
1 parent 4e5eb34 commit b1c9309

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python/ray/data/datasource/parquet_meta_provider.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ def fetch_func(fragments):
151151
)
152152
)
153153

154+
return _dedupe_fragment_metadata(raw_metadata)
155+
154156
else:
155157
raw_metadata = _fetch_metadata(fragments)
156-
157-
return _dedupe_fragment_metadata(raw_metadata)
158-
158+
return raw_metadata
159159

160160

161161
def _fetch_metadata_serialization_wrapper(
@@ -248,6 +248,7 @@ def _dedupe_metadata(
248248
stripped_metadatas.append(stripped_md)
249249
return stripped_metadatas
250250

251+
251252
def _dedupe_fragment_metadata(
252253
metadatas: List[_ParquetFileFragmentMetaData],
253254
) -> List[_ParquetFileFragmentMetaData]:

0 commit comments

Comments
 (0)