deniskuzZ commented on code in PR #6088:
URL: https://github.com/apache/hive/pull/6088#discussion_r2605949320


##########
parser/src/java/org/apache/hadoop/hive/ql/parse/AlterClauseParser.g:
##########
@@ -50,7 +50,7 @@ alterStatement
     : KW_ALTER KW_TABLE tableName alterTableStatementSuffix -> 
^(TOK_ALTERTABLE tableName alterTableStatementSuffix)
     | KW_ALTER KW_VIEW tableName KW_AS? alterViewStatementSuffix -> 
^(TOK_ALTERVIEW tableName alterViewStatementSuffix)
     | KW_ALTER KW_MATERIALIZED KW_VIEW tableNameTree=tableName 
alterMaterializedViewStatementSuffix[$tableNameTree.tree] -> 
alterMaterializedViewStatementSuffix
-    | KW_ALTER (KW_DATABASE|KW_SCHEMA) alterDatabaseStatementSuffix -> 
alterDatabaseStatementSuffix
+    | KW_ALTER (KW_DATABASE|KW_SCHEMA) databaseName 
alterDatabaseStatementSuffix -> ^(TOK_ALTERDATABASE databaseName 
alterDatabaseStatementSuffix)

Review Comment:
   can we use `name=identifier` instead of databaseName?



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