Casting structs with fields of the same name, but in a different order fails with Mismatch Type Error
#10486
Closed
1 task done
Labels
What happens?
Casting structs with fields of the same name, but in a different order fails with
duckdb.duckdb.TypeMismatchException: Mismatch Type Error
.The documentation about casting structs only mention that field names have to match:
If the requirement is that the fields have to be in the same order, then perhaps it could be made more explicit in the documentation.
To Reproduce
OS:
aarch64
DuckDB Version:
0.9.2
DuckDB Client:
python
Full Name:
Philippe Laflamme
Affiliation:
N/A
Have you tried this on the latest nightly build?
I have tested with a nightly build
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: