codope commented on issue #7273:
URL: https://github.com/apache/hudi/issues/7273#issuecomment-1325051760
Incompatible type change is not allowed (by default). However, the error
message says:
```
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to alter
table. The following columns have types incompatible with the existing columns
in their respective positions :
id,_extra_test,col2
at org.apache.hadoop.hive.ql.metadata.Hive.alterTable(Hive.java:634)
at org.apache.hadoop.hive.ql.metadata.Hive.alterTable(Hive.java:612)
... 75 more
Caused by: InvalidOperationException(message:The following columns have
types incompatible with the existing columns in their respective positions :
id,_extra_test,col2)
```
and from the steps mentioned in JIRA, i couldn't figure out from where
`_extra_test` field is coming. @waywtdcc can you check how come this field is
reported by Hive in the schema? By the way, it would be nice to have all the
steps to reproduce in the description of this issue (to avoid switching between
JIRA and Github).
cc @danny0405
--
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]