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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

GitBox
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:
[hidden email]


With regards,
Apache Git Services