[GitHub] [carbondata] vikramahuja1001 commented on a change in pull request #3354: [CARBONDATA-3489] Optimized the comparator instances in sort

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] vikramahuja1001 commented on a change in pull request #3354: [CARBONDATA-3489] Optimized the comparator instances in sort

GitBox
vikramahuja1001 commented on a change in pull request #3354: [CARBONDATA-3489] Optimized the comparator instances in sort
URL: https://github.com/apache/carbondata/pull/3354#discussion_r319433137
 
 

 ##########
 File path: processing/src/main/java/org/apache/carbondata/processing/loading/partition/impl/RawRowComparator.java
 ##########
 @@ -34,12 +36,34 @@
   private int[] sortColumnIndices;
   private boolean[] isSortColumnNoDict;
   private DataType[] noDicDataTypes;
+  private Map<DataType, SerializableComparator> comparator_map;
 
   public RawRowComparator(int[] sortColumnIndices, boolean[] isSortColumnNoDict,
       DataType[] noDicDataTypes) {
     this.sortColumnIndices = sortColumnIndices;
     this.isSortColumnNoDict = isSortColumnNoDict;
     this.noDicDataTypes = noDicDataTypes;
+    comparator_map = new HashMap<>();
 
 Review comment:
   Removed

----------------------------------------------------------------
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