sajjad-moradi commented on a change in pull request #5617: URL: https://github.com/apache/incubator-pinot/pull/5617#discussion_r447245653
########## File path: pinot-common/src/main/java/org/apache/pinot/common/utils/helix/TableCache.java ########## @@ -80,6 +80,14 @@ public String getActualColumnName(String tableName, String columnName) { return columnName; } + public TableConfig getTableConfig(String tableName) { + return _tableConfigChangeListener._tableConfigMap.get(canonicalize(tableName)); + } + + private String canonicalize(String name) { Review comment: Using canonicalize explicitly states the reason why we're making the those strings lower case which IMO makes the code more maintainable, but since you both think otherwise, I'm reverting it. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org