GitHub user manishgupta88 opened a pull request:

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

    [CARBONDATA-2443][SDK] Multi level complex type support for AVRO based SDK

    **Problem:**
    Problem inferring the complex type schema with boolean array type from the 
store created using SDK writer
    
    **Analysis:**
    When we create an external table and infer the schema from store created 
using SDK writer, the operation fails because of complex type field with 
boolean array dataType. This is because during schema creation by SDK writer, 
for array type children a child with column name val is added.
    While parsing the logic to append the parent name with child column name is 
missing for boolean type which is causing this problem.
    
    **Solution:**
    Handle the parsing for boolean 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
    Manually verified
     - [ ] 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/manishgupta88/carbondata 
sdk_complex_type_boolean_fix

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

    https://github.com/apache/carbondata/pull/2294.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 #2294
    
----
commit 6369c0d3bd2b773f17b5a3b61c2396f41c7e6933
Author: manishgupta88 <tomanishgupta18@...>
Date:   2018-05-10T11:39:17Z

    Problem:
    Problem inferring the complex type schema with boolean array type from the 
store created using SDK writer
    
    Analysis:
    When we create an external table and infer the schema from store created 
using SDK writer, the operation fails because of complex type field with
    boolean array dataType. This is because during schema creation by SDK 
writer, for array type children a child with column name val is added.
    While parsing the logic to append the parent name with child column name is 
missing for boolean type which is causing this problem.
    
    Solution:
    Handle the parsing for boolean type

----


---

Reply via email to