mihaibudiu commented on code in PR #4891:
URL: https://github.com/apache/calcite/pull/4891#discussion_r3102588934


##########
core/src/main/java/org/apache/calcite/jdbc/CalciteMetaImpl.java:
##########
@@ -543,9 +545,7 @@ public Enumerable<MetaColumn> columns(final MetaTable 
table_) {
       String catalog,
       Pat schemaPattern,
       Pat functionNamePattern) {
-    final Predicate1<MetaSchema> schemaMatcher = namedMatcher(schemaPattern);
-    return createResultSet(schemas(catalog)
-            .where(schemaMatcher)
+    return createResultSet(schemas(catalog, new LikePattern(schemaPattern.s))

Review Comment:
   I think LikePattern can do case-sensitive and case-insensitive comparisons. 
Are these preserved?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to