carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kunal642 <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #771: [CARBONDATA-883] Fixed cast exceptio...
Date Sun, 09 Apr 2017 09:10:47 GMT
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.kapoor@knoldus.in>
Date:   2017-04-07T13:26:16Z

    fixed cast exception for integer data types in RestructureBasedVectorResultCollector

commit 0be853c83a2ce81256a0c54c5fc9d27db6e8c9da
Author: kunal642 <kunal.kapoor@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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message