Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B51C3200D5D for ; Wed, 20 Dec 2017 19:35:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B3ABA160C15; Wed, 20 Dec 2017 18:35:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 072AB160BF9 for ; Wed, 20 Dec 2017 19:35:45 +0100 (CET) Received: (qmail 86075 invoked by uid 500); 20 Dec 2017 18:35:45 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 86066 invoked by uid 99); 20 Dec 2017 18:35:45 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2017 18:35:45 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 24367DFC32; Wed, 20 Dec 2017 18:35:45 +0000 (UTC) From: ravipesala To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1677: [CARBONDATA-1860][PARTITION] Support insertov... Content-Type: text/plain Message-Id: <20171220183545.24367DFC32@git1-us-west.apache.org> Date: Wed, 20 Dec 2017 18:35:45 +0000 (UTC) archived-at: Wed, 20 Dec 2017 18:35:46 -0000 GitHub user ravipesala reopened a pull request: https://github.com/apache/carbondata/pull/1677 [CARBONDATA-1860][PARTITION] Support insertoverwrite for a specific partition. This PR depends on https://github.com/apache/carbondata/pull/1672 and https://github.com/apache/carbondata/pull/1674 User should able to overwrite partition for a specific partition. Like INSERT OVERWRITE TABLE partitioned_user PARTITION (country = 'US') SELECT * FROM another_user au WHERE au.country = 'US'; In the above example, the user can overwrite only the partition(country = 'US') data. So remaining partitions data would be intact. While overwriting a specific partition carbon should first load data to the new segment and drop that partition from all remaining segments using partition.map file. Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [X] Any interfaces changed? NO - [X] Any backward compatibility impacted? NO - [X] Document update required? YES - [X] Testing done Tests added - [X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ravipesala/incubator-carbondata partition-overwrite Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/1677.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 #1677 ---- commit 32e23c7e0d1dfb0435ae70b6d1311e68cec4c615 Author: ravipesala Date: 2017-12-19T07:49:15Z Support insert overwrite partition commit 9f0b7d8b1d28cd452633762057d8c7204765e816 Author: ravipesala Date: 2017-12-20T18:07:30Z handle comments ---- ---