jiihye commented on code in PR #5793: URL: https://github.com/apache/hive/pull/5793#discussion_r2076643408
########## 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 have only verified the logic for the database name and table name used in `getTableMetas`. If all columns where `appendCondition` is used are indeed stored in lowercase, I’ll keep the original function name `appendPatternCondition` and remove the `caseSensitive` parameter, along with the `(?i)` flag inside `appendCondition`. -- 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