Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2372#discussion_r196823447
--- Diff:
hadoop/src/main/java/org/apache/carbondata/hadoop/CarbonRecordReader.java ---
@@ -80,7 +80,7 @@ public void initialize(InputSplit inputSplit,
TaskAttemptContext context)
}
// It should use the exists tableBlockInfos if tableBlockInfos of
queryModel is not empty
// otherwise the prune is no use before this method
- if (!queryModel.isFG()) {
+ if (queryModel.getTableBlockInfos().isEmpty()) {
--- End diff --
I have added a new RecordReader called `IndexedRecordReader`, I am using
this one in search mode now. So this problem will not come. I will remove line
83.
---