Skip to content

Conversation

@Qtax
Copy link
Contributor

@Qtax Qtax commented Mar 2, 2023

Comments no longer removed from queries. As that was only done done to make parameters work?
If the comments should still be removed from queries anyway, then that can be added back in using the improved parser code.

Removed support for backtick quotes as those do not work in Firebolt.

Fixes #38

@Jeseeq
Copy link
Collaborator

Jeseeq commented Mar 2, 2023

Thank you. Nice regexp, and looks like covers all cases.
Comments were removed to support parameters.But I see potential use of comments (to filter or do analytics based on comments after, in query history), so lets keep them.
Do not remember for sure, backticks was supported some time ago, until we rewrite our sql parser

@Jeseeq Jeseeq merged commit da7db13 into firebolt-db:main Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Comments" removed from strings

2 participants