chrajeshbabu commented on code in PR #15281: URL: https://github.com/apache/pinot/pull/15281#discussion_r2014752632
########## pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/PinotConnection.java: ########## @@ -70,10 +66,10 @@ public class PinotConnection extends AbstractBaseConnection { } _session = new org.apache.pinot.client.Connection(properties, brokers, transport); - for (String possibleQueryOption: POSSIBLE_QUERY_OPTIONS) { - Object property = properties.getProperty(possibleQueryOption); - if (property != null) { - _queryOptions.put(possibleQueryOption, parseOptionValue(property)); + for (Map.Entry<Object, Object> property : properties.entrySet()) { + String configKey = QueryOptionsUtils.getConfigKey(property.getKey()); + if (property.getKey().equals(configKey)) { Review Comment: done by just null check. -- 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. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org