You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After trying, error is reported when the ARRAY and MAP of the nested fields are directly next to each other.
For example, ARRAY<MAP<STRING, STRUCT<x: INT>>> or MAP<STRING, ARRAY<STRUCT<x: INT>>> , changing the name of field x will result in an error: Error in query: Field name xxx is not a struct
If the ARRAY and MAP of the nested fields are not directly next to each other, like ARRAY<STRUCT<a: MAP<STRING, STRUCT<x: INT>>>> , changing the name of field x will not result in the error above.
madeirak
changed the title
The nested type identification is incorrect STRUCT<a: ARRAY<MAP<STRUCT<b: string>>>>
When MAP and ARRAY are next to each other, changing the field name inside the nested field will cause an ERROR
Dec 25, 2024
Apache Iceberg version
1.4.3
Query engine
Spark
Please describe the bug 🐞
alter table xxx.tbale1 RENAME COLUMN sb_col.ss_col.element.value.d to d_1;
Error in query: Field name
sb_col
.ss_col
.element
.value
.d
is invalid:sb_col
.ss_col
.element
is not a struct.; line 1 pos 0Willingness to contribute
The text was updated successfully, but these errors were encountered: