Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Missing support for double quotes to escape #682

Closed
MitchellGale opened this issue Jul 7, 2022 · 0 comments
Closed

[BUG] Missing support for double quotes to escape #682

MitchellGale opened this issue Jul 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@MitchellGale
Copy link
Contributor

What is the bug?
Strings that are surrounded by and contain two quotes of the same type should be reduced down.

How can one reproduce the bug?
Steps to reproduce the behavior:
Run query
SELECT 'I''m';

What is the expected behavior?
Should result in string
I'm

Example of incorrect query

opensearchsql> SELECT 'I''m';                                                                                                                                                      
fetched rows / total rows = 1/1
+----------+
| 'I''m'   |
|----------|
| I''m     |
+----------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants