Github user xuchuanyin commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1707#discussion_r158927598
--- Diff:
processing/src/main/java/org/apache/carbondata/processing/loading/sort/unsafe/holder/UnsafeSortTempFileChunkHolder.java
---
@@ -312,7 +217,7 @@ private void fillDataForPrefetch() {
}
// write complex dimensions here.
- for (; dimCount < dimensionCount; dimCount++) {
+ for (; dimCount < sortParameters.getComplexDimColCount();
dimCount++) {
--- End diff --
yeah, I made a mistake when applying the changes to this PR.
---