Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1888#discussion_r165809273
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/util/SessionParams.java ---
    @@ -199,6 +199,8 @@ private boolean validateKeyValue(String key, String 
value) throws InvalidConfigu
               }
             } else if 
(key.startsWith(CarbonCommonConstants.VALIDATE_CARBON_INPUT_SEGMENTS)) {
               isValid = true;
    +        } else if 
(key.startsWith(CarbonCommonConstants.SUPPORT_DIRECT_QUERY_ON_DATAMAP)) {
    --- End diff --
    
    I think should use `equals` instead of `startsWith`


---

Reply via email to