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

CREATE SEQUENCE query parsing failed when INCREMENT BY negative values in Phoenix-Calcite

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Caused by: org.apache.phoenix.calcite.parser.ParseException: 
      Encountered "-" at line 1, column 62.
      Was expecting:
          <UNSIGNED_INTEGER_LITERAL> ...
          
      	at org.apache.phoenix.end2end.SequenceBulkAllocationIT.createSequenceWithNoMinMax(SequenceBulkAllocationIT.java:1106)
      	at org.apache.phoenix.end2end.SequenceBulkAllocationIT.testNextValuesForSequenceWithNegativeIncrementByGreaterThanOne(SequenceBulkAllocationIT.java:372)
      

      Attachments

        Activity

          People

            Misraji Ashish Misra
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: