QiangCai commented on a change in pull request #3178: [CARBONDATA-3348] Support alter SORT_COLUMNS property
URL:
https://github.com/apache/carbondata/pull/3178#discussion_r277711348
##########
File path: hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonInputFormat.java
##########
@@ -487,7 +487,7 @@ private int getBlockCount(List<ExtendedBlocklet> blocklets) {
List<ExtendedBlocklet> prunedBlocklets = null;
// This is to log the event, so user will know what is happening by seeing logs.
LOG.info("Started block pruning ...");
- if (carbonTable.isTransactionalTable()) {
+ if (carbonTable.isTransactionalTable() && !carbonTable.hasColumnDrift()) {
Review comment:
fixed
if the segment has no column drift, it will reuse filterResolver.
if the segment has column drift, it will use filterExpression to build filterResolver for this segment
----------------------------------------------------------------
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