Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1707#discussion_r158901262
--- 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 --
I think there is difference with changed code compare to old code. Please
double check the changes. Complex dimensions may not work
---