Github user kumarvishal09 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/970#discussion_r119011516
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/chunk/store/impl/unsafe/UnsafeVariableLengthDimesionDataChunkStore.java
---
@@ -164,7 +175,26 @@ public UnsafeVariableLengthDimesionDataChunkStore(long
totalSize, boolean isInve
.equals(CarbonCommonConstants.MEMBER_DEFAULT_VAL_ARRAY, value)) {
vector.putNull(vectorRow);
} else {
- vector.putBytes(vectorRow, value);
+ DataType dt = vector.getType();
--- End diff --
Add switch case instead of instanceof check , please handle in other places
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---