You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "zhuangchong (via GitHub)" <gi...@apache.org> on 2023/04/18 02:38:46 UTC

[GitHub] [incubator-paimon] zhuangchong commented on issue #900: [hotfix] add column `already exists` and `does not exist` exception type

zhuangchong commented on issue #900:
URL: https://github.com/apache/incubator-paimon/issues/900#issuecomment-1512352411

   @tsreaper Thanks.
   
   In the SchemaManager class, only the table name is used when printing column`already exists` and `does not exist`. Do you have any suggestions for this method?
   
   Print the column `already exists` and `does not exist` exception:
   org.apache.parmin.Catalog$ColumnNotExistException: Column non_existing_col does not exist in the test_table table.
   
   Original exception: 
   java.lang.IllegalArgumentException: The column [non_existing_col] doesn't exist in the table[file:/var/folders/r7/v8n4bv9n4cx_gjbffcws50yc0000gn/T/junit5628841770933124332/test_db.db/test_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@paimon.apache.org

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