dengzhhu653 commented on code in PR #5440:
URL: https://github.com/apache/hive/pull/5440#discussion_r1756790392
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -2155,6 +2156,20 @@ private void handleInsertStatementSpecPhase1(ASTNode
ast, QBParseInfo qbp, Phase
throw new SemanticException(generateErrorMessage(ast,
"Unable to access metadata for table " + fullTableName));
}
+ ColumnAccessInfo cai = new ColumnAccessInfo();
Review Comment:
please add some unit tests, example:
https://github.com/apache/hive/blob/e4348422c6f3b1910a8600ea7c7bd839894dcd6f/ql/src/test/queries/clientpositive/authorization_privilege_objects.q
--
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]