You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/08/02 01:59:25 UTC

[GitHub] [iceberg] lvyanquan commented on issue #5399: Error happened after deleting a partitioned column

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

   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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org