vineetgarg02 commented on a change in pull request #582: Hive 21386: Extend the 
fetch task enhancement done in HIVE-21279 to make it work with query result 
cache
URL: https://github.com/apache/hive/pull/582#discussion_r271083355
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/Context.java
 ##########
 @@ -774,21 +812,25 @@ public void setResDir(Path resDir) {
     resDirPaths = null;
   }
 
-  public void clear() throws IOException {
+  public void clear() throws IOException{
 
 Review comment:
   Rest of the calls are from immediately after executing tasks. Since result 
hasn't been cached at that point it is safe for the context clear to delete the 
result cache files (if there are any)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to