Open
Description
Whenever a project name contains a dash followed by a number then it is being interpreted as a minus number value and being separated when formatted. This is troublesome for us as a lot of our project names contain this format and the formatter is breaking our queries as a result.
We can't always rely on escaping the project name as these queries are written by end users in the browser.
Input data
-- BigQuery
select * from project-12345.table.column
Expected Output
select
*
from
project-12345.table.column
Actual Output
select
*
from
project -12345.table.column
Usage
- What SQL language(s) does this apply to?
BigQuery - Which SQL Formatter version are you using?
15.4.5