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 3DD9A200C60 for ; Mon, 24 Apr 2017 09:01:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3C945160BA5; Mon, 24 Apr 2017 07:01:48 +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 840CE160B99 for ; Mon, 24 Apr 2017 09:01:47 +0200 (CEST) Received: (qmail 31714 invoked by uid 500); 24 Apr 2017 07:01:46 -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 31705 invoked by uid 99); 24 Apr 2017 07:01:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2017 07:01:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5F13418030D for ; Mon, 24 Apr 2017 07:01:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.021 X-Spam-Level: X-Spam-Status: No, score=-4.021 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TbsME0fv6FH3 for ; Mon, 24 Apr 2017 07:01:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 9FA055F3F0 for ; Mon, 24 Apr 2017 07:01:44 +0000 (UTC) Received: (qmail 31696 invoked by uid 99); 24 Apr 2017 07:01:43 -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; Mon, 24 Apr 2017 07:01:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B8398E0779; Mon, 24 Apr 2017 07:01:43 +0000 (UTC) From: kunal642 To: issues@carbondata.incubator.apache.org Reply-To: issues@carbondata.incubator.apache.org Message-ID: Subject: [GitHub] incubator-carbondata pull request #841: [CARBONDATA-976] Fixed issue for wro... Content-Type: text/plain Date: Mon, 24 Apr 2017 07:01:43 +0000 (UTC) archived-at: Mon, 24 Apr 2017 07:01:48 -0000 GitHub user kunal642 opened a pull request: https://github.com/apache/incubator-carbondata/pull/841 [CARBONDATA-976] Fixed issue for wrong value getting deleted from evolutionEntry Analysis: If alter command throws exception then in the revert flow the condition is to check whether the schemaEvolution time is greater than the lastUpdated time for carbonTable. This leads to problem because if new schema is not written then also the above condition will be true and revert process will happen deleting the previous entry. Solution: Updated the condition to check for the exact time instead of a greater one. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kunal642/incubator-carbondata CARBONDATA-976 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/841.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 #841 ---- commit 06087da248e3bcb7c3da650932cb0d3abd9397c2 Author: kunal642 Date: 2017-04-24T06:52:57Z changed revert condition ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---