armujahid opened a new issue, #14190:
URL: https://github.com/apache/iceberg/issues/14190

   ### Query engine
   
   Athena along with S3 table buckets (that uses Apache Iceberg internally. Not 
sure about exact iceberg version used)
   
   ### Question
   
   `CREATE TABLE demo_s3_table (
   sale_date date,
   product_category string,
   sales_amount double)
   PARTITIONED BY (month(sale_date))
   TBLPROPERTIES ('table_type' = 'iceberg')
   
   -- this will work
   ALTER TABLE demo_s3_table
   ADD COLUMNS (city string);
   
   CREATE TABLE demo_s3_table1 (
   sale_date date,
   product_category string,
   sales_amount double,
   context MAP<STRING, STRING>)
   PARTITIONED BY (month(sale_date))
   TBLPROPERTIES ('table_type' = 'iceberg')
   
   -- this won't work
   ALTER TABLE demo_s3_table1
   ADD COLUMNS (city string);`
   
   
   Is that Athena limitation or an Apache Iceberg bug? I couldn't find any 
documented reason of this behavior. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to