[GitHub] [carbondata] QiangCai commented on a change in pull request #3366: [CARBONDATA-3497] Support to write long string for streaming table

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

[GitHub] [carbondata] QiangCai commented on a change in pull request #3366: [CARBONDATA-3497] Support to write long string for streaming table

GitBox
QiangCai commented on a change in pull request #3366: [CARBONDATA-3497] Support to write long string for streaming table
URL: https://github.com/apache/carbondata/pull/3366#discussion_r321158022
 
 

 ##########
 File path: hadoop/src/main/java/org/apache/carbondata/hadoop/stream/StreamRecordReader.java
 ##########
 @@ -163,6 +164,14 @@ public StreamRecordReader(QueryModel mdl, boolean useRawRow) {
             .getDirectDictionaryGenerator(storageColumns[i].getDataType());
       }
     }
+    dimensionsIsVarcharTypeMap = new boolean[dimensionCount];
+    for (int i = 0; i < dimensionCount; i++) {
+      if (storageColumns[i].getDataType() == DataTypes.VARCHAR) {
 
 Review comment:
   dimensionsIsVarcharTypeMap[i]=storageColumns[i].getDataType() == DataTypes.VARCHAR

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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