- Newest
- Most votes
- Most comments
The issue you're experiencing with Redshift Spectrum truncating the metadata_location parameter for Iceberg tables to 128 characters is not a known or documented limitation of Amazon Redshift. This truncation is preventing Spectrum from properly reading Iceberg metadata files, which explains why you're seeing full sequential scans instead of partition-pruned reads.
This behavior is unexpected and appears to be a bug in Redshift Spectrum's handling of Iceberg tables. The proper functioning of Redshift with Iceberg tables should allow for optimized query plans and reduced file scans during query processing, as mentioned in AWS documentation.
Given the nature of this issue, there are a few steps you can take:
-
Contact AWS Support: Since this appears to be a bug rather than a known limitation, the best course of action is to open a support case with AWS. Provide them with the details you've shared here, including the query plans, the truncated metadata location, and the performance discrepancy between Athena and Spectrum.
-
Temporary Workaround: While waiting for a resolution from AWS, you might consider using Athena for these queries if possible, as it seems to be handling the Iceberg metadata correctly.
-
Check for Updates: Keep an eye on Redshift release notes and patch updates. If this is indeed a bug, it may be addressed in a future release.
-
Verify Table Properties: Although your table creation looks correct, double-check that all table properties related to Iceberg are properly set and that there are no conflicts or issues with how the table was created or how data is being ingested.
As for a timeline for fixing this issue, that would depend on AWS acknowledging the problem and prioritizing a fix. The best way to get this information would be through the AWS support channel.
In the meantime, continue to monitor your query performance and consider using alternative query methods (like Athena) for critical workloads affected by this issue. Also, keep your Redshift cluster updated to the latest version, as fixes for such issues are often included in regular updates.
Sources
Simplify your query performance diagnostics in Amazon Redshift with Query profiler | AWS Big Data Blog
Achieve the best price-performance in Amazon Redshift with elastic histograms for selectivity estimation | AWS Big Data Blog
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago

We're literally getting the same error, as of 23/10/2025. Has this been looked at by AWS?