[ 
https://issues.apache.org/jira/browse/HIVE-26060?focusedWorklogId=747020&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-747020
 ]

ASF GitHub Bot logged work on HIVE-26060:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Mar/22 08:39
            Start Date: 24/Mar/22 08:39
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #3128:
URL: https://github.com/apache/hive/pull/3128#discussion_r834048896



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
##########
@@ -1357,6 +1357,7 @@ public void dropTable(Table table, boolean ifPurge) 
throws HiveException {
     table.getTTable().setTxnId(txnId);
 
     dropTable(table.getTTable(), !tableWithSuffix, true, ifPurge);
+    AcidUtils.tryInvalidateDirCache(table);

Review comment:
       ````
   dropTable(table.getTTable(), !tableWithSuffix, true, ifPurge);
   ````
   could throw an exception, maybe better move inside of it and handle in 
finally block




-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 747020)
    Time Spent: 20m  (was: 10m)

> Invalidate acid table directory cache on drop table
> ---------------------------------------------------
>
>                 Key: HIVE-26060
>                 URL: https://issues.apache.org/jira/browse/HIVE-26060
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0-alpha-1
>            Reporter: Antal Sinkovits
>            Assignee: Antal Sinkovits
>            Priority: Minor
>              Labels: ACID, pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to