You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krishna Kumar (JIRA)" <ji...@apache.org> on 2011/08/17 10:46:27 UTC

[jira] [Created] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

import of multiple partitions from a partitioned table with external location overwrites files
----------------------------------------------------------------------------------------------

                 Key: HIVE-2384
                 URL: https://issues.apache.org/jira/browse/HIVE-2384
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Krishna Kumar


when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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

        

[jira] [Updated] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

Posted by "Krishna Kumar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishna Kumar updated HIVE-2384:
--------------------------------

    Attachment: HIVE-2384.v0.patch

Patch with tests

> import of multiple partitions from a partitioned table with external location overwrites files
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2384
>                 URL: https://issues.apache.org/jira/browse/HIVE-2384
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>         Attachments: HIVE-2384.v0.patch
>
>
> when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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

        

[jira] [Updated] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

Posted by "Krishna Kumar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishna Kumar updated HIVE-2384:
--------------------------------

    Assignee: Krishna Kumar
      Status: Patch Available  (was: Open)

> import of multiple partitions from a partitioned table with external location overwrites files
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2384
>                 URL: https://issues.apache.org/jira/browse/HIVE-2384
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>            Assignee: Krishna Kumar
>         Attachments: HIVE-2384.v0.patch
>
>
> when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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

        

[jira] [Commented] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090874#comment-13090874 ] 

Amareshwari Sriramadasu commented on HIVE-2384:
-----------------------------------------------

+1.
Will commit once tests pass.

> import of multiple partitions from a partitioned table with external location overwrites files
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2384
>                 URL: https://issues.apache.org/jira/browse/HIVE-2384
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>            Assignee: Krishna Kumar
>         Attachments: HIVE-2384.v0.patch
>
>
> when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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

        

[jira] [Updated] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated HIVE-2384:
------------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks Krishna !

> import of multiple partitions from a partitioned table with external location overwrites files
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2384
>                 URL: https://issues.apache.org/jira/browse/HIVE-2384
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>            Assignee: Krishna Kumar
>         Attachments: HIVE-2384.v0.patch
>
>
> when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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

        

[jira] [Updated] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-2384:
---------------------------------

    Fix Version/s: 0.8.0

> import of multiple partitions from a partitioned table with external location overwrites files
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2384
>                 URL: https://issues.apache.org/jira/browse/HIVE-2384
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>            Assignee: Krishna Kumar
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2384.v0.patch
>
>
> when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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

        

[jira] [Commented] (HIVE-2384) import of multiple partitions from a partitioned table with external location overwrites files

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091113#comment-13091113 ] 

Hudson commented on HIVE-2384:
------------------------------

Integrated in Hive-trunk-h0.21 #915 (See [https://builds.apache.org/job/Hive-trunk-h0.21/915/])
    HIVE-2384. Fixes overwriting of files in case of import of multiple partitions from a partitioned table with external location. (Krishna Kumar via amareshwari)

amareshwari : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1161516
Files : 
* /hive/trunk/data/files/test2.dat
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/exim_19_00_part_external_location.q
* /hive/trunk/ql/src/test/results/clientpositive/exim_19_00_part_external_location.q.out


> import of multiple partitions from a partitioned table with external location overwrites files
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2384
>                 URL: https://issues.apache.org/jira/browse/HIVE-2384
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>            Assignee: Krishna Kumar
>         Attachments: HIVE-2384.v0.patch
>
>
> when we import multiple partitions from an exported partitioned table, if we import it with a specified external location, then the partitions end up overwriting.

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