Amazon athena 配置单元分区模式不匹配

Amazon athena 配置单元分区模式不匹配,amazon-athena,aws-glue,Amazon Athena,Aws Glue,我从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 'xxx

我从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还是我遗漏了什么?

除非从表继承模式,否则模式将保持在分区级别。见此:

这里也讨论了:

您试图执行的查询是什么?