tobixdev opened a new pull request, #14011: URL: https://github.com/apache/datafusion/pull/14011
## Which issue does this PR close? Closes #14010 ## Rationale for this change Implements Option 1. from said issue. ## What changes are included in this PR? Test during planning whether the `MemTable` has zero partitions and raise a planning error if this is the case. ## Are these changes tested? The error message is asserted in `test_insert_into_zero_partition` ## Are there any user-facing changes? Inserting into a `MemTable` fails during planning instead of during execution. Should this be mentioned in the doc to `insert_into`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org