anthonyguyot-msq commented on issue #6463: URL: https://github.com/apache/druid/issues/6463#issuecomment-2485653562
Hello, same issue for MySQL. The generated SQL query looks like: ``` SELECT myKeyColumn AS key, myValueColumn AS value FROM myTable ``` this generates the following error: ``` SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key, myValueColumn AS value FROM myTable' ``` It should encapsulate aliases with backquote: ``` SELECT myKeyColumn AS `key`, myValueColumn AS `value` FROM myTable ``` Is there a way to achive protected keyword encapsulation/protection, or any alias configuration? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
