GitHub user kunal642 opened a pull request:
https://github.com/apache/incubator-carbondata/pull/874 [CARBONDATA-1011] Fixed cast exception for new column with date datatype
Analysis: The date column being added had default value as Integer and it was being cast to long which caused the exception.
Solution: Add a condition to check the data type and cast appropriately.
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/kunal642/incubator-carbondata CARBONDATA-1011
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/874.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #874
----
commit ea5e80cf1d1720d716b6ad9e63ac4e6d9141b244
Author: kunal642 <
[hidden email]>
Date: 2017-05-02T15:09:09Z
fixed cast exception for new column with date datatype
----
---
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
[hidden email] or file a JIRA ticket
with INFRA.
---