Skip to content

Commit 62b7cfc

Browse files
authored
perf
1 parent 3696901 commit 62b7cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/table/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def partitions(self, snapshot_id: Optional[int] = None) -> "pa.Table":
290290

291291
snapshot = self._get_snapshot(snapshot_id)
292292
executor = ExecutorFactory.get_or_create()
293-
local_partitions_maps = list(executor.map(self._process_manifest, snapshot.manifests(self.tbl.io)))
293+
local_partitions_maps = executor.map(self._process_manifest, snapshot.manifests(self.tbl.io))
294294

295295
partitions_map: Dict[Tuple[str, Any], Any] = {}
296296
for local_map in local_partitions_maps:

0 commit comments

Comments
 (0)