GitHub user kumarvishal09 opened a pull request:

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

    [HOTFIX] Fixed NPE during query with Local Dictionary

    **Problem:**
    Query is failing with NPE when some blocklet encoded with local dictionary 
and some without local dictionary.
    **Root Cause:** 
    This is coming because in carbonvectorProxy setDictionary with null it is 
not setting the dictionary to null because of this it is treated like a local 
dictionary column but column is not encoded with dictionary.
    **Solution:**
    Set dictionary to null
     - [ ] Any interfaces changed?
     
     - [ ] Any backward compatibility impacted?
     
     - [ ] Document update required?
    
     - [ ] 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.
           
     - [ ] 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/kumarvishal09/incubator-carbondata 
master_102019

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

    https://github.com/apache/carbondata/pull/3068.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 #3068
    
----
commit 7fdc042bcf2c7bc05135a809cab8ccd45dfbc01c
Author: kumarvishal09 <kumarvishal1802@...>
Date:   2019-01-11T09:44:53Z

    fixed NPE in LocalDictionary Query

----


---

Reply via email to