Skip to content

dataform format breaks triple-quoted strings in BigQuery #1444

@desbo

Description

@desbo

BigQuery SQL supports triple-quoted strings wrapped in '''.

When running dataform format against a SQLX file containing a triple-quoted string, the quotes are formatted like the below example:

(original)

'''
select 1
'''

(after formatting)

''
'
select 1
'
''

BigQuery fails when executing the query after this formatting change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions