ajantha-bhat commented on a change in pull request #3553: [CARBONDATA-3648] 
Support Alter Table Compaction Level Threshold
URL: https://github.com/apache/carbondata/pull/3553#discussion_r363569844
 
 

 ##########
 File path: 
core/src/main/java/org/apache/carbondata/core/util/CarbonProperties.java
 ##########
 @@ -983,8 +983,11 @@ public void print() {
     for (String levelSize : levels) {
       try {
         int size = Integer.parseInt(levelSize.trim());
-        if (validate(size, 100, 0, -1) < 0) {
+        if (validate(size, CarbonCommonConstants.COMPACTION_SEGMENT_LEVEL_MAX,
+            CarbonCommonConstants.COMPACTION_SEGMENT_LEVEL_MIN, -1) < 0) {
           // if given size is out of boundary then take default value for all 
levels.
+          LOGGER.warn("The COMPACTION_LEVEL_THRESHOLD is out of boundary, "
 
 Review comment:
   print the default value also, similar log like line : 995

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to