XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      In Phoenix, the comma before the CONSTRAINT is optional (which matches Oracle). Can this be supported in Calcite Phoenix?

      For example, this is ok in Phoenix:

      CREATE TABLE T (
          K VARCHAR
          CONSTRAINT PK PRIMARY KEY (K));
      

      as is this:

      CREATE TABLE T (
          K VARCHAR,
          CONSTRAINT PK PRIMARY KEY (K));
      

      If this is not feasible, we could require the comma and change the tests. This is leading to a lot of failures.

      Attachments

        1. PHOENIX-3263.patch
          0.9 kB
          Eric Lomore

        Activity

          People

            lomoree Eric Lomore
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: