mesejo opened a new pull request, #1860:
URL: https://github.com/apache/datafusion-python/pull/1860
# Which issue does this PR close?
None
# Rationale for this change
Infer the schema from the first non-empty partition, and raise ValueError
when every partition is empty instead of panicking.
# What changes are included in this PR?
Minor code changes
# Are there any user-facing changes?
Yes, but the changes are minor; now the users receive a ValueError instead
of a panic. This affects other methods that depend on create_dataframe:
from_arrow, from_pylist, etc.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]