GitHub user mohammadshahidkhan opened a pull request:

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

    [CARBONDATA-2729][file-format] Schema Compatibility problem between version 
1.3.0 and 1.4.0

    **Problem**:
    In TableSchema the field Name schemaEvaluation is changed to 
schemaEvoluation and in DataMapSchema field name className is changed to 
providerName.
    Due to this current Carbon version & Version 1.4.0 is not able to properly 
de-serialize the schema created with older Carbon Version.
    **Solution**
     To de-serialize old schema having different field name the multiple values 
for SerializedName annotation can be used.
     For refrence please refer the [_**gson 
PR#699**_](https://github.com/google/gson/pull/699/).
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [X] Any interfaces changed?
     NA
     - [X] Any backward compatibility impacted?
     NA
     - [X] Document update required?
    NA
    
     - [X] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
            - 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.
           Added test case to verify de-serialization
     - [X] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    NA


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

    $ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
store_compatibility

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

    https://github.com/apache/carbondata/pull/2498.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 #2498
    
----
commit 12796bdfa6209f4da971d9b161b9bd426ad7c50f
Author: mohammadshahidkhan <mohdshahidkhan1987@...>
Date:   2018-07-02T14:21:03Z

    [CARBONDATA-2729][file-format] Schema Compatibility problem between version 
1.3.0 and 1.4.0

----


---

Reply via email to