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 2014/11/19 05:06:33 UTC

[jira] [Commented] (TAJO-1194) 'INSERT OVERWRITE .. SELECT' does not remove existing data when result is empty.

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

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

GitHub user blrunner opened a pull request:

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

    TAJO-1194: 'INSERT OVERWRITE .. SELECT' does not remove existing data when result is empty.

    

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

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

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

    https://github.com/apache/tajo/pull/254.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 #254
    
----
commit 9d5f0239206106adaf114a90b8f60dd1c106a578
Author: JaeHwa Jung <bl...@apache.org>
Date:   2014-11-19T03:51:51Z

    Initial Commit

----


> 'INSERT OVERWRITE .. SELECT' does not remove existing data when result is empty.
> --------------------------------------------------------------------------------
>
>                 Key: TAJO-1194
>                 URL: https://issues.apache.org/jira/browse/TAJO-1194
>             Project: Tajo
>          Issue Type: Bug
>          Components: distributed query plan
>            Reporter: Hyunsik Choi
>            Assignee: Jaehwa Jung
>            Priority: Critical
>             Fix For: 0.9.1
>
>
> *Background*
> {{INSERT OVERWRITE INTO XXX SELECT ... FROM Y}} overwrites only the partitions which corresponds to the query results. If the query result is empty, all partitions should be removed. 
> *Problem*
> The current implementation does not remove any partition if the query result is empty.



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