[ 
https://issues.apache.org/jira/browse/HIVE-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103799#comment-13103799
 ] 

jirapos...@reviews.apache.org commented on HIVE-1975:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1829/
-----------------------------------------------------------

Review request for hive and Yongqiang He.


Summary
-------

If insert into multilevel directory like '/HIVEFT25686/chinna/'
 (insert overwrite directory '/HIVEFT25686/chinna/' select * from dept_j) is 
failing because "fs.rename(sourcePath, targetPath)" is failing rename to 
multilevel directories, so first created the target path.


This addresses bug HIVE-1975.
    https://issues.apache.org/jira/browse/HIVE-1975


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java 1170044 

Diff: https://reviews.apache.org/r/1829/diff


Testing
-------

Ran all testcases


Thanks,

chinna



> "insert overwrite directory" Not able to insert data with multi level 
> directory path
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-1975
>                 URL: https://issues.apache.org/jira/browse/HIVE-1975
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>         Environment: Hadoop 0.20.1, Hive0.5.0 and SUSE Linux Enterprise 
> Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-1975.1.patch, HIVE-1975.patch
>
>
> Below query execution is failed
> Ex:
> {noformat}
>    insert overwrite directory '/HIVEFT25686/chinna/' select * from dept_j;
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to