xubo245 commented on a change in pull request #3173: [CARBONDATA-3351] Support Binary Data Type
URL:
https://github.com/apache/carbondata/pull/3173#discussion_r275652936
##########
File path: core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
##########
@@ -2384,7 +2388,7 @@ public static void dropDatabaseDirectory(String databasePath)
return b.array();
} else if (DataTypes.isDecimal(dataType)) {
return DataTypeUtil.bigDecimalToByte((BigDecimal) value);
- } else if (dataType == DataTypes.BYTE_ARRAY) {
+ } else if (dataType == DataTypes.BYTE_ARRAY || dataType == DataTypes.BINARY) {
return (byte[]) value;
} else if (dataType == DataTypes.STRING
Review comment:
done
----------------------------------------------------------------
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