Skip to content

Update split.txt wrt splitting empty chunks #1808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions source/reference/command/split.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ Definition
Considerations
--------------

:dbcommand:`split` does *not* support splitting an chunk that does not
contain documents. Use :dbcommand:`splitAt` to create splits in chunks
that do not contain documents.
The `find` and `bounds` forms of :dbcommand:`split` do *not* support splitting
a chunk that does not contain documents (because these forms split along the median,
and there is no median when the chunk is empty). Use the `middle` form of `split`,
or use :dbcommand:`splitAt` to create splits in chunks that do not contain documents.

Command Formats
---------------
Expand Down