ajantha-bhat commented on a change in pull request #3595: [CARBONDATA-3674]
remove Encoding.DICTIONARY and Encoding.DIRECT_DICTIONARY usage
URL: https://github.com/apache/carbondata/pull/3595#discussion_r372827270
##########
File path:
core/src/main/java/org/apache/carbondata/core/datastore/TableSpec.java
##########
@@ -103,7 +102,7 @@ private void addDimensions(List<CarbonDimension>
dimensions) {
} else {
noSortNoDictDimSpec.add(spec);
}
- } else if (dimension.isDirectDictionaryEncoding()) {
+ } else if (dimension.getDataType() == DataTypes.DATE) {
spec = new DimensionSpec(ColumnType.DIRECT_DICTIONARY, dimension,
dictActualPosition++);
Review comment:
ColumnType.DIRECT_DICTIONARY, we are still keeping ? we can refactor this
also
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services