Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
When parsing SQL in BigQuery dialect, split quoted table names that contain dots. The following three are equivalent:
select * from `bigquery-public-data`.`samples`.`natality`; select * from `bigquery-public-data.samples.natality`; select * from bigquery-public-data.samples.natality;
After this change, Babel will return the same parse tree for all 3 queries. (The third will require CALCITE-4246.)
To control this feature, in interface SqlConformance, add method boolean splitQuotedTableName().
Attachments
Issue Links
- is related to
-
CALCITE-4247 When parsing SQL in BigQuery dialect, character literals may be enclosed in single- or double-quotes, and use backslashes as escapes
- Closed
- relates to
-
CALCITE-4246 When parsing SQL in BigQuery dialect, allow unquoted table names to contain hyphens
- Closed
- links to