Skip to content

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

Closed

Description

@MitchellGale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions