Skip to content

Commit 777c14d

Browse files
committed
chore: set the default max batch size to pyarrow\'s default
1 parent ecdae27 commit 777c14d

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
@@ -182,7 +182,7 @@
182182

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

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

0 commit comments

Comments
 (0)