我从AWS雅典娜那里得到了这个错误:
HIVE_PARTITION_SCHEMA_MISMATCH: There is a mismatch between the table and partition schemas. The types are incompatible and cannot be coerced. The column 'id' in table 'db.app_events' is declared as type 'string', but partition 'xxxxx' declared column 'data.entity_price' as type 'double'.与这些字段没有任何联系,但它会给出一个错误。是bug,还是我漏掉了什么?
发布于 2019-09-27 05:54:49
架构将保留在分区级别,除非您从表中继承架构。看看这个:https://docs.aws.amazon.com/athena/latest/ug/updates-and-partitions.html
发布于 2021-09-26 08:20:56
ALTER TABLE tableName CHANGE columnName newColumnName类型级联;
https://stackoverflow.com/questions/58122059
复制相似问题