Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6691

ROW_NUMBER should not be allowed as argument in a procedure call

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.10.2.0
    • 10.10.2.1, 10.11.1.1, 10.12.1.1
    • SQL
    • None
    • Repro attached

    Description

      Fails with assert/NPE instead of proper error:

      ij> call syscs_util.syscs_compress_table('APP', 'T', row_number() over ());
      ERROR XJ001: Java exception: 'ASSERT FAILED cannot get interface without operand: org.apache.derby.shared.common.sanity.AssertFailure'.
      

      Attachments

        1. derby-6691.diff
          3 kB
          Dag H. Wanvik

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: