lvyanquan commented on issue #5399:
URL: https://github.com/apache/iceberg/issues/5399#issuecomment-1201931070

   > @lvyanquan:
   > 
   > Do you have a testcase or sample SQL to reproduce this? As I want to know 
when do we build the `history partition-specs`
   
   we can reproduce this error using the following sql (spark3.2, iceberg0.13 
or 0.14), prod is the name of catalog:
   
   CREATE TABLE prod.db.sample (id bigint, data string, category string) USING 
iceberg PARTITIONED BY (category) TBLPROPERTIES('format-version' = '2');
   
   ALTER TABLE prod.db.sample DROP PARTITION FIELD category;
   
   ALTER TABLE  prod.db.sample DROP COLUMN category;
   Even though I deleted this column using JAVA API, I met NullPointerException 
when using this table.


-- 
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