Neer393 commented on code in PR #6371: URL: https://github.com/apache/hive/pull/6371#discussion_r2955009925
########## ql/src/test/queries/clientpositive/hive_27193.q: ########## @@ -0,0 +1,6 @@ +CREATE DATABASE `@test`; +USE `@test`; +CREATE TABLE testtable (c1 INT); +ALTER TABLE testtable ADD COLUMNS (c2 INT); Review Comment: Instead of using the database and alter and drop table, can you run the query as mentioned in the JIRA as I see that the issue is seen when hive tries to parse dbName.tableName where the dbName has the special character `@` as it looks out for the catalog name. Change queries to ``` ALTER TABLE `@test`.testtable ADD COLUMNS (c2 INT); DROP TABLE `@test`.testtable; ``` You should also create another table named testtable2 and try the following queries as well ``` ALTER TABLE `@hive#@test`.testtable ADD COLUMNS (c2 INT); DROP TABLE `@hive#@test`.testtable; ``` -- 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]
