Skip to content

Commit 2fc6889

Browse files
committed
add schema parameter to the repartition method (#192)
1 parent c2ef3f0 commit 2fc6889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

merlin/io/dataset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ def repartition(self, npartitions=None, partition_size=None):
543543
.repartition(
544544
npartitions=npartitions,
545545
partition_size=partition_size,
546-
)
546+
),
547+
schema=self.schema,
547548
)
548549

549550
@classmethod

0 commit comments

Comments
 (0)