You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/27 11:21:00 UTC

[jira] [Work logged] (HIVE-25907) IOW Directory queries fails to write data to final path when query result cache is enabled

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

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

                Author: ASF GitHub Bot
            Created on: 27/Jan/22 11:20
            Start Date: 27/Jan/22 11:20
    Worklog Time Spent: 10m 
      Work Description: shameersss1 opened a new pull request #2978:
URL: https://github.com/apache/hive/pull/2978


   
   ### Why are the changes needed?
   INSERT OVERWRITE DIRECTORY queries fails to write the data to the specified directory location when query result cache is enabled.
   `Steps to reproduce
   
   1. create a data file with the following data
   
   1 abc 10.5
   2 def 11.5
   
   
   2. create table pointing to that data
   
   create external table iowd(strct struct<a:int, b:string, c:string>)
   row format delimited
   fields terminated by '\t'
   collection items terminated by ' '
   location '<data_location>';
   
   
   3. run the following query
   
   set hive.query.results.cache.enabled=true;
   INSERT OVERWRITE DIRECTORY "<destination directory>" SELECT * FROM iowd;`
   
   After execution of the above query, It is expected that the destination directory contains data from the table iowd, But due to HIVE-21386 it is not happening anymore.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   New tests were added to validate the fix
   


-- 
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-unsubscribe@hive.apache.org

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


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

            Worklog Id:     (was: 716356)
    Remaining Estimate: 0h
            Time Spent: 10m

> IOW Directory queries fails to write data to final path when query result cache is enabled
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25907
>                 URL: https://issues.apache.org/jira/browse/HIVE-25907
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 4.0.0
>            Reporter: Syed Shameerur Rahman
>            Assignee: Syed Shameerur Rahman
>            Priority: Major
>             Fix For: 4.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> INSERT OVERWRITE DIRECTORY queries fails to write the data to the specified directory location when query result cache is enabled.
> *Steps to reproduce*
> {code:java}
> 1. create a data file with the following data
> 1 abc 10.5
> 2 def 11.5
> 2. create table pointing to that data
> create external table iowd(strct struct<a:int, b:string, c:string>)
> row format delimited
> fields terminated by '\t'
> collection items terminated by ' '
> location '<data_location>';
> 3. run the following query
> set hive.query.results.cache.enabled=true;
> INSERT OVERWRITE DIRECTORY "<destination directory>" SELECT * FROM iowd;
> {code}
> After execution of the above query, It is expected that the destination directory contains data from the table iowd, But due to HIVE-21386 it is not happening anymore.



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