1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
This error normally indicates there’s a mismatch between the table DDL and the actual underlying data. You can use this parquet tool to inspect parquet file schema. If the file is quite large, you may also want to test on a small sample of the data first, in case there’s mixed data types for one column.
Apart from that, you can also test on different Athena engine versions to see if this is caused by some engine specific behaviours. (Athena engine V2 uses Presto and V3 uses Trino). This doc shows how to change the engine version under a workgroup.
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 9 days ago
- AWS OFFICIALUpdated a year ago