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


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -3516,7 +3470,9 @@ private void truncateTableInternal(String dbName, String 
tableName, List<String>
     boolean isSkipTrash = false, needCmRecycle = false;
     try {
       String[] parsedDbName = parseDbName(dbName, conf);
-      Table tbl = get_table_core(parsedDbName[CAT_NAME], 
parsedDbName[DB_NAME], tableName);
+      GetTableRequest getTableRequest = new 
GetTableRequest(parsedDbName[DB_NAME], tableName);

Review Comment:
   isn't it more convenient to keep this method and use new API, maybe just 
change to private



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