You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/01/14 01:02:56 UTC

[GitHub] xuchuanyin commented on a change in pull request #3068: [HOTFIX] Fixed NPE during query with Local Dictionary

xuchuanyin commented on a change in pull request #3068: [HOTFIX] Fixed NPE during query with Local Dictionary
URL: https://github.com/apache/carbondata/pull/3068#discussion_r247371680
 
 

 ##########
 File path: integration/spark-datasource/src/main/spark2.1andspark2.2/org/apache/spark/sql/CarbonVectorProxy.java
 ##########
 @@ -311,6 +311,7 @@ public void setDictionary(CarbonDictionary dictionary) {
         vector.setDictionary(dictionaryWrapper);
         this.dictionary = dictionaryWrapper;
       } else {
+        this.dictionary = null;
 
 Review comment:
   This change lies in spark2.1andspark2.2, so spark2.3 does not have this problem?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services