samarthjain opened a new issue #9152: Druid SQL - escaping non-letter or digit characters in string literals not correct URL: https://github.com/apache/druid/issues/9152 The Druid version where the problem was encountered. 0.16 ### Description When using the avatica driver, druid sql doesn't work correctly for datasource names containing non-alpha numeric characters (like underscore). This is because the metadata query made to fetch information about columns of the table fails to return anything because of the buggy where clause. For ex - SELECT * FROM druid.datasource_name results in the metadata query whose where clause is: WHERE TABLES.TABLE_NAME LIKE U&'datasource\\005Fname' The above where clause is incorrect as there should only be a single slash WHERE TABLES.TABLE_NAME LIKE U&'datasource\005Fname'
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
