Open rangareddy opened 4 days ago
@rangareddy what is the data type for the field in the parquet file? I see that the last_modified_time is listed as bigint and also timestamp in the DDL. In Hudi, you'd need to use a logical type for a timestamp field
@rangareddy since you're testing with athena, you can ignore those table properties spark.sql.*
.
The problem is that the parquet file contains timestamp with timezone type, but the DDL makes it bigint, which violate some iceberg checks. See if there are any config to bypass this validation in iceberg, and have you tried creating the table with timestamp type for last_modified_time
and that should work?
Search before asking
Please describe the bug 🐞
Team, I have converted Hudi table to Iceberg table using Xtable. From athena if i query the table getting the following error:
ICEBERG_BAD_DATA: Field last_modified_time's type INT64 in parquet file s3a:////.parquet is incompatible with type timestamp(6) with time zone defined in table schema
This query ran against the "" database, unless qualified by the query. Please post the error message on our forum or contact customer support with Query Id: 1f0401d0-584e-4eec-8a2d-9f719a85973c
Hudi Table Schema:
Are you willing to submit PR?
Code of Conduct