GitHub user manishgupta88 opened a pull request:

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

    [CARBONDATA-315] Data loading fails if parsing a double value returns 
infinity

    Problem: Data loading fails if parsing a double value returns infinity
    
    Analysis: During data load, if a value specified is too big for a double 
DataType column then while parsing that value as double result is returned as 
"Infinity". Due to this while we calculate min and max value for measures in 
carbon data writer step it throws an exception.
    
    Fix: If result is Infinity or NAN for double value parsing then make the 
value as null and add it to bad records.
    
    Impact area: Data load which contains non parseable values for a datatype.

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

    $ git pull https://github.com/manishgupta88/incubator-carbondata 
double_value_range_failure

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

    https://github.com/apache/incubator-carbondata/pull/234.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 #234
    
----
commit f7225f974828edd8b340f88fbfaa2f60d8a7d582
Author: manishgupta88 <tomanishgupt...@gmail.com>
Date:   2016-10-13T09:47:52Z

    Problem: Data loading fails if parsing a double value returns infinity
    
    Analysis: During data load, if a value specified is too big for a double 
DataType column then while parsing that value as double result is returned as 
"Infinity". Due to this while we calculate min and max value for measures in 
carbon data writer step it throws an exception.
    
    Fix: If result is Infinity or NAN for double value parsing then make the 
value as null and add it to bad records.
    
    Impact area: Data load which contains non parseable values for a 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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to