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

ROW_NUMBER should not be allowed as argument in a procedure call

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10.2.0
    • Fix Version/s: 10.10.2.1, 10.11.1.1, 10.12.1.1
    • Component/s: SQL
    • Labels:
      None
    • Issue & fix info:
      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

              • Assignee:
                dagw Dag H. Wanvik
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: