[ https://issues.apache.org/jira/browse/HIVE-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132830#comment-13132830 ]
jirapos...@reviews.apache.org commented on HIVE-1975: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/1829/ ----------------------------------------------------------- (Updated 2011-10-21 17:09:08.230077) Review request for hive and Yongqiang He. Changes ------- Reworked on the comments 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 (updated) ----- trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java 1186875 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.2.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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira