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

[FORMATTING] BigQuery: Doesn't handle escaped quotes in raw strings #762

Open
akshetpandey opened this issue Jul 25, 2024 · 1 comment
Open

Comments

@akshetpandey
Copy link

Input data
Reproduces on https://sql-formatter-org.github.io/sql-formatter/

Which SQL and options did you provide as input?
Language: BigQuery

SELECT
    regexp_extract(event_properties, r'Email": \'(.*?@.*?)\'')
FROM test

Actual Output

Parse error: Unexpected "@.*?)\'') " at line 2 column 50. SQL dialect used: "bigquery".
@akshetpandey akshetpandey changed the title [FORMATTING] BigQuery: Doesn't handle escaped quotes [FORMATTING] BigQuery: Doesn't handle escaped quotes in raw strings Jul 25, 2024
@nene
Copy link
Collaborator

nene commented Jul 30, 2024

Thanks for reporting.

@nene nene added the bigquery label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants