- Newest
- Most votes
- Most comments
Currently, Amazon Athena does not support partitioning on nested fields for Iceberg tables. This is a known limitation of Athena's implementation of Iceberg support.
When working with Iceberg tables in Athena, partitioning by nested fields is explicitly not supported. If you attempt to partition by a nested field, you will receive an error message stating that partitioning by nested fields is unsupported.
While it's true that support for partitioning on nested row fields was added in Trino 451, Athena's query engine is based on an earlier version of Trino/Presto and does not yet include this feature. Athena's Iceberg implementation has its own set of supported features and limitations that may differ from the latest Trino releases.
For now, if you need to query this table in Athena, you may need to consider restructuring your data model to avoid partitioning on nested fields. Alternatively, you could explore using other services that support the latest Iceberg features, or wait for potential future updates to Athena's Iceberg support.
If this feature is critical for your use case, you might want to reach out to AWS support or provide feedback to the Athena team about your need for nested field partitioning support in Iceberg tables.
Sources
Query Apache Iceberg tables - Amazon Athena
Amazon Athena Features – Serverless Interactive Query Service – Amazon Web Services
Which Trino version is currently supported by Athena? Where do you provide feedback to the Athena team?
answered 2 years ago
Relevant content
asked 2 years ago
asked a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
