GitHub user akashrn5 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/718

    [CARBONDATA-843]null pointer exception was thrown when floor operation is 
done on decimal column

    problem: null pointer exception was thrown when floor operation is done on 
decimal column.
    analysis: when floor operation was done on decimal column, scale was 
greater than precision.During floor operation , we tried to change the 
precision of the data.
    solution: When sending to the spark layer for performing floor operation, 
we need to send the precision and scale to the spark layer which are taken from 
the CarbonMeasure
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/akashrn5/incubator-carbondata 
br_nullpointer_decimal

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/718.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 #718
    
----
commit 27e0fd0dba6515dc5a4c3df6c3e711c66157982d
Author: akash <akash.r.nilu...@huawei.com>
Date:   2017-03-31T12:40:31Z

    CARBONDATA-843
    problem: null pointer exception was thrown when floor operation is done on 
decimal column.
    analysis: when floor operation was done on decimal column, scale was 
greater than precision.During floor operation , we tried to change the 
precision of the data.
    solution: When sending to the spark layer for performing floor operation, 
we need to send the precision and scale to the spark layer which are taken from 
the CarbonMeasure

----


---
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.
---

Reply via email to