Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3104 Enable Phoenix test cases with Calcite-Phoenix
  3. PHOENIX-3437

Resolve sequence incompatibilities in phoenix-calcite

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      1. The use of negative values in CREATE SEQUENCE statements is not currently supported.
      CREATE SEQUENCE seq START WITH 2 INCREMENT BY -2

      2. Exception throwing - resolving sequences is now handled in PhoenixSchema. We don't distinguish between a sequence and a table at this level. Hence we throw a TableNotFoundException rather than a SequenceNotFoundException when sequences cannot be found. This would be difficult to fix, so adjusting test cases seems like the best course.

      3. Another issue that overhangs many of the cases is with the SYSTEM keyword - this is being handled in PHOENIX-3468

      Attachments

        Activity

          People

            lomoree Eric Lomore
            lomoree Eric Lomore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: