GitHub user jatin9896 opened a pull request:

    https://github.com/apache/carbondata/pull/1993

    [CARBONDATA-2199] Fixed Dimension column after restructure getting wrong 
block datatype

    Problem: Changing datatype of measure having sort_columns calls for 
restructure and after having restructure it changes the datatype to actual 
datatype for which accessing the data with changed datatype gives exception of 
incorrect length.
    
    Solution: Store the datatype in DimensionInfo while restructuring and 
access the same datatype to get the block data type.
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed? No
     
     - [ ] Any backward compatibility impacted? No
     
     - [ ] Document update required? No
    
     - [ ] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required? Yes
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance 
test report.
            - Any additional information to help reviewers in testing this 
change.
           
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    


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

    $ git pull https://github.com/jatin9896/incubator-carbondata CARBONDATA-2199

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

    https://github.com/apache/carbondata/pull/1993.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 #1993
    
----
commit 591c83f38be254ec0fa0e4a3d6423b244e9d106f
Author: Jatin <jatin.demla@...>
Date:   2018-02-23T11:26:17Z

    Fixed Dimension column after restructure getting wrong block datatype

----


---

Reply via email to