[ 
https://issues.apache.org/jira/browse/CALCITE-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated CALCITE-4230:
---------------------------------
    Description: 
When parsing SQL in BigQuery dialect, split quoted table names that contain 
dots. The following three are equivalent:
{code:java}
select * from `bigquery-public-data`.`samples`.`natality`;
select * from `bigquery-public-data.samples.natality`;
select * from bigquery-public-data.samples.natality;
{code}
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()}}.

  was:
When parsing SQL in BigQuery dialect, split quoted table names that contain 
dots. The following three are equivalent:
{code:java}
select * from `bigquery-public-data`.`samples`.`natality`;
select * from `bigquery-public-data.samples.natality`;
select * from bigquery-public-data.samples.natality;
{code}
After this change, Babel will return the same parse tree for all 3 queries. 
(The third will require CALCITE-4246.)


> When parsing SQL in BigQuery dialect, split quoted table names that contain 
> dots
> --------------------------------------------------------------------------------
>
>                 Key: CALCITE-4230
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4230
>             Project: Calcite
>          Issue Type: Bug
>          Components: babel
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>
> When parsing SQL in BigQuery dialect, split quoted table names that contain 
> dots. The following three are equivalent:
> {code:java}
> select * from `bigquery-public-data`.`samples`.`natality`;
> select * from `bigquery-public-data.samples.natality`;
> select * from bigquery-public-data.samples.natality;
> {code}
> 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()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to