Skip to content

Commit 9e9939c

Browse files
committed
chore: set the default max batch size to pyarrow\'s default
1 parent ae35e1e commit 9e9939c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datasets/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183

184184
# Batch size constants. For more info, see:
185185
# https://github.com/apache/arrow/blob/master/docs/source/cpp/arrays.rst#size-limitations-and-recommendations)
186-
DEFAULT_MAX_BATCH_SIZE = 1000
186+
DEFAULT_MAX_BATCH_SIZE = 1024 * 1024
187187

188188
DEFAULT_CDC_OPTIONS = {"min_chunk_size": 256 * 1024, "max_chunk_size": 1024 * 1024, "norm_level": 0}
189189

0 commit comments

Comments
 (0)