Ability to pass empty Arrow tables/datasets to write_deltalake
with rust
engine
#2686
Labels
enhancement
New feature or request
write_deltalake
with rust
engine
#2686
Description
It's currently not possible to pass empty Arrow tables or datasets to
write_deltalake
when using therust
engine.Write empty Arrow table:
Error:
Write empty dataset:
Error (when using
rust
engine,pyarrow
throws different error):Use Case
I now use this flow to handle an empty table:
And this flow to handle an empty dataset:
The dataset case is particulary unpleasant, because you need to eagerly materialize the dataset to a table in memory just to check if it's empty.
It would be nice if we could simply use
and leave handling of the "empty case" to
delta-rs
.Related Issue(s)
The text was updated successfully, but these errors were encountered: