[
https://issues.apache.org/jira/browse/TAJO-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148066#comment-14148066
]
ASF GitHub Bot commented on TAJO-1067:
--------------------------------------
GitHub user blrunner opened a pull request:
https://github.com/apache/tajo/pull/161
TAJO-1067: INSERT OVERWRITE INTO should not remove all partitions.
I added new session variable for avoiding remove existing partition
directories. Its name is COLUMN_PARITION_REMOVE_ALL_PARTITIONS. Its default
value is false. Thus, if you run INSERT OVERWRITE statement with column
partitioned table, tajo doesn't remove existing partition directories. Tajo
just remove partition directories which is equals to staging directories.
And this patch has a lack that is related to TAJO-744. You left the comment
for the lack at TAJO-1067.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/blrunner/tajo TAJO-1067
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/161.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 #161
----
commit 7c98709f0fcb06dfb675acae3d6489a6126f55b5
Author: jinossy <[email protected]>
Date: 2014-08-06T08:43:35Z
TAJO-995: HiveMetaStoreClient wrapper should retry the connection
commit 415d0867ae4a4543f47360294bead1fc7f41e292
Author: Jaehwa Jung <[email protected]>
Date: 2014-08-10T06:07:24Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 7a7b4fd26f61df89cacdb4fc41faf9c2abe456b2
Author: Jaehwa Jung <[email protected]>
Date: 2014-08-11T02:28:48Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 45f5ed3adba931f4706f26dda1d3c03240ee11d3
Author: Jaehwa Jung <[email protected]>
Date: 2014-08-11T05:40:25Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit aa01e83859ef553ac4eb90c1678e3bc6be20c6c9
Author: Jaehwa Jung <[email protected]>
Date: 2014-08-18T09:56:24Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit b33a94509c1a007b56785435c8e16640ffde91b7
Author: Jaehwa Jung <[email protected]>
Date: 2014-09-04T02:14:19Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 05c892448113db40daef54d2e06dad463dbae9c8
Author: Jaehwa Jung <[email protected]>
Date: 2014-09-11T02:33:54Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 42a6c4ebeebe36aad6f7dc5f92c83baee398c85e
Author: Jaehwa Jung <[email protected]>
Date: 2014-09-11T03:25:05Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 52a942136c549f197d6d1c3d1a13717e6f14a83f
Author: Jaehwa Jung <[email protected]>
Date: 2014-09-24T01:26:36Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
commit 97910caa09353eb395205b35b9417b2ae51d076a
Author: Jaehwa Jung <[email protected]>
Date: 2014-09-25T17:51:13Z
TAJO-1067: INSERT OVERWRITE INTO should not remove all partitions.
commit 0a7611d6aea1a98477960be38a5045abfdc78ae0
Author: Jaehwa Jung <[email protected]>
Date: 2014-09-25T17:52:07Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into
TAJO-1067
----
> INSERT OVERWRITE INTO should not remove all partitions.
> -------------------------------------------------------
>
> Key: TAJO-1067
> URL: https://issues.apache.org/jira/browse/TAJO-1067
> Project: Tajo
> Issue Type: Bug
> Components: query master
> Reporter: Jaehwa Jung
> Assignee: Jaehwa Jung
> Priority: Critical
> Fix For: 0.9.0
>
>
> Currently, INSERT OVERWRITE INTO always moves the result data into the
> original table location. As a result, all existing partitions have been
> removed. The query should not remove all partitions because existing
> partitions may be a dataset for a production cluster.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)