GitHub user sujith71955 opened a pull request:

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

    [CARBONDATA-319] Bad Records logging for column data type is not proper

    **Problem:**
    Bad Records logging for column data type is not proper in case of long, 
carbon system while creating the table metadata uses BIGINT instead of LONG , 
internally it converts the bigint to long type and processes , while processing 
the data if any long type data is having issue it will be logged into the bad 
record with data type Long which is not proper since as per the metadata the 
datatype of column is BIGINT.
    **Solution :**
    Pass name for each data type ENUM constant in constructor, while logging 
the bad record get the column data type name value from the data type ENUM 
constant, for LONG the name will be BIGINT.


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

    $ git pull https://github.com/sujith71955/incubator-carbondata 
master_BadRecord_Issue

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

    https://github.com/apache/incubator-carbondata/pull/241.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 #241
    
----
commit 2c08ecdbb50e57afcea26d25d80fe2b7f8208310
Author: sujith71955 <sujithchacko.2...@gmail.com>
Date:   2016-10-15T15:39:27Z

    [CARBONDATA-319]
    Bad Records logging for column data type is not proper in case of long, 
carbon system while creating the table metadata uses BIGINT instead of LONG , 
internally it converts the bigint to long type and processes , while processing 
the data if any long type data is having issue it will be logged into the bad 
record with data type Long which is not proper since as per the metadata the 
datatype of column is BIGINT.

----


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