samarthjain edited a comment on pull request #10040: URL: https://github.com/apache/druid/pull/10040#issuecomment-645077845
@gianm - any insights into why the proposed fix isn't working? https://github.com/apache/druid/pull/10040/commits/766d01958d705579d2507511c2f5b0185d0b2ac4#diff-e3c9fb92d9d63883562e4341e8e5f889R453 From by debugging, I can tell that the SQL Query built by DruidMeta#getColumns has this clause: ```COLUMNS.TABLE_NAME LIKE U&'some\005Fdatasource' ESCAPE '\'``` However, at this point https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/runtime/Like.java#L54, the sqlPattern param representing TABLE_NAME is `some_datasource`. The backslash used to escape `_` is not present. ---------------------------------------------------------------- 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]
