You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/16 00:51:00 UTC

[jira] [Commented] (TAJO-1644) When inserting empty data into a partitioned table, existing data would be removed.

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

ASF GitHub Bot commented on TAJO-1644:
--------------------------------------

GitHub user blrunner opened a pull request:

    https://github.com/apache/tajo/pull/601

    TAJO-1644: When inserting empty data into a partitioned table, existing data would be removed.

    When inserting empty data into a partitioned table, existing data would be removed. Tajo provides column value partition which is hive-style partition. In hive, when inserting empty data into a partition, there are two cases. If you use dynamic partitions, existing data never would be removed. But if you don't use dynamic partitions, existing data would be removed. When inserting a data to partition, tajo user don't specify each column and each column value. So, it is similar to dynamic partition of hive. It seems to update deletion logic of partitioned table.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blrunner/tajo TAJO-1644

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/601.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #601
    
----
commit 67f818e23e82099a4dd84f8deb21f9008c912faf
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-06-15T22:47:53Z

    TAJO-1644: When inserting empty data into a partitioned table, existing data would be removed.

commit 74c3e29bae6cba30dec33bf19f61af8141ab2dd4
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-06-15T22:49:14Z

    Remove unnecessary packages.

----


> When inserting empty data into a partitioned table, existing data would be removed.
> -----------------------------------------------------------------------------------
>
>                 Key: TAJO-1644
>                 URL: https://issues.apache.org/jira/browse/TAJO-1644
>             Project: Tajo
>          Issue Type: Bug
>          Components: query master
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>
> When inserting empty data into a partitioned table, existing data would be removed. Tajo provides column value partition which is hive-style partition. In hive, when inserting empty data into a partition, there are two cases. If you use dynamic partitions, existing data never would be removed. But if you don't use dynamic partitions, existing data would be removed. When inserting a data to partition, tajo user don't specify each column and each column value. So, it is similar to dynamic partition of hive. It seems to update deletion logic of partitioned table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)