GitHub user kunal642 opened a pull request: https://github.com/apache/incubator-carbondata/pull/771
[CARBONDATA-883] Fixed cast exception for integer data types in RestructureBasedVectorResultCollector The following issues are fixed in this PR:- 1. In RestructureUtil, int and short datatypes were being parsed as long and then being cast to long which was throwing cast exception. 2. Added an entry for SHORT in carbonKeywords because we were allowing the user to create a table with short datatype but alter table was failing due to missing SHORT keyword. Now short and smallInt are both acceptable and both will be converted to smallint. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kunal642/incubator-carbondata CARBONDATA-883 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/771.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 #771 ---- commit 9db005af3022b2221eb8af1077f14a62075a76c3 Author: kunal642 <kunal.kap...@knoldus.in> Date: 2017-04-07T13:26:16Z fixed cast exception for integer data types in RestructureBasedVectorResultCollector commit 0be853c83a2ce81256a0c54c5fc9d27db6e8c9da Author: kunal642 <kunal.kap...@knoldus.in> Date: 2017-04-09T08:45:24Z added parser for short dataype ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---