miklosgergely commented on a change in pull request #543: HIVE-21292: Break up DDLTask 1 - extract Database related operations URL: https://github.com/apache/hive/pull/543#discussion_r259316684
########## File path: hcatalog/core/src/main/java/org/apache/hive/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzerBase.java ########## @@ -122,6 +128,13 @@ protected void authorizeDDLWork(HiveSemanticAnalyzerHookContext context, Hive hive, DDLWork work) throws HiveException { } + /** + * Authorized the given DDLWork2. It is only for the interim time while DDLTask and DDLWork are being refactored. + */ + protected void authorizeDDLWork2(HiveSemanticAnalyzerHookContext context, Review comment: In the long term yes, for now it must stay there as there are works done by the original DDLWork, and others by the DDLWork2. When all the refactorings are done there going to be only one authorizeDDLWork. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services