deniskuzZ commented on code in PR #5793: URL: https://github.com/apache/hive/pull/5793#discussion_r2075073360
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java: ########## @@ -1984,14 +1984,28 @@ private StringBuilder appendSimpleCondition(StringBuilder builder, private StringBuilder appendCondition(StringBuilder builder, String fieldName, String[] elements, boolean pattern, List<String> parameters) { + return appendCondition(builder, fieldName, elements, pattern, parameters, false); + } + + private StringBuilder appendPatternConditionCaseSensitive(StringBuilder builder, + String fieldName, String elements, List<String> parameters) { + elements = normalizeIdentifier(elements); + return appendCondition(builder, fieldName, elements.split("\\|"), true, parameters, true); Review Comment: i think we can, as `private appendPatternCondition` is used for `database.name` and `tableType` (we should double-check if we store `tableType` in lower-case) If that is the case, we can keep the original name `appendPatternCondition` and drop the new `caseSensitive` param with `(?i)` cc @jiihye -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org