column types must match schema types occurs after unnest_columns
on another column
#14218
Labels
bug
Something isn't working
unnest_columns
on another column
#14218
Describe the bug
I am rewriting our CDF operation in delta-rs, the code looks roughly like this:
I noticed that when I do unnest_columns on another column, it complains afterwards about a schema error:
Since I don't need the column, I can safely drop it beforehand, but I don't understand why doesn't Dictionary(UInt16, Utf8) just coerce to utf8?
To Reproduce
Bit difficult but, you can run grab my branch: https://github.com/ion-elgreco/delta-rs/tree/refactor--combine_execution_plans
And then you run the test test_merge_cdc_enabled_simple, with this line commented out:
.drop_columns(&["__delta_rs_path"])?
Expected behavior
I guess coerce gracefully?
Additional context
No response
The text was updated successfully, but these errors were encountered: