samarthjain commented on a change in pull request #10040:
URL: https://github.com/apache/druid/pull/10040#discussion_r441828906



##########
File path: sql/src/main/java/org/apache/druid/sql/avatica/DruidMeta.java
##########
@@ -446,15 +446,16 @@ public MetaResultSet getColumns(
     }
 
     if (schemaPattern.s != null) {
-      whereBuilder.add("COLUMNS.TABLE_SCHEMA LIKE " + 
Calcites.escapeStringLiteral(schemaPattern.s));

Review comment:
       Thanks for taking a look, @gianm . Pushed a commit to add the `ESCAPE` 
clause in the three methods along with tests.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to