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 <[email protected]>
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 [email protected] or file a JIRA ticket
with INFRA.
---