Github user xuchuanyin commented on the issue: https://github.com/apache/carbondata/pull/2169 @ravipesala After I studied the code, I found that we must keep a map between unique-blockletId to DMRow-pointer-index. The relative blockletId in previous code was generated before datamap pruning and has some relationship with DMRow-pointer-index. After pruning, some blocks will be filtered and we can't get the real relative blocklet since some blocks was filtered.
---