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


##########
hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/NotificationListener.java:
##########
@@ -208,8 +209,9 @@ public void onCreateTable(CreateTableEvent tableEvent) 
throws MetaException {
       Configuration conf = handler.getConf();
       Table newTbl;
       try {
-        newTbl = handler.get_table_core(tbl.getCatName(), tbl.getDbName(), 
tbl.getTableName())
-          .deepCopy();
+        GetTableRequest getTableRequest = new GetTableRequest(tbl.getDbName(), 
tbl.getTableName());

Review Comment:
   could we rename var to `tableRequest` as it looks like method name



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