okumin opened a new pull request, #4954: URL: https://github.com/apache/hive/pull/4954
### What changes were proposed in this pull request? This PR would change an error message thrown when a user gives a wrong storage format in STORED BY. ### Why are the changes needed? The current messages are less informative. I got confused while I was testing Iceberg and non-Iceberg tables in turns. ``` 0: jdbc:hive2://hive-hiveserver2:10000/defaul> CREATE TABLE test (a STRING) STORED BY ORC TBLPROPERTIES ("orc.compress"="ZSTD"); Error: Error while compiling statement: FAILED: SemanticException Cannot find class '' (state=42000,code=40000) 0: jdbc:hive2://hive-hiveserver2:10000/defaul> CREATE TABLE test (a STRING) STORED BY DEFAULT; Error: Error while compiling statement: FAILED: NullPointerException null (state=42000,code=40000) ``` ### Does this PR introduce _any_ user-facing change? It changes only error messages. ### Is the change a dependency upgrade? No. ### How was this patch tested? I added test cases. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org