Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4230

When parsing SQL in BigQuery dialect, split quoted table names that contain dots

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m