Knut Anders Hatlen created DERBY-6691:
-----------------------------------------
Summary: ROW_NUMBER should not be allowed as argument in a
procedure call
Key: DERBY-6691
URL: https://issues.apache.org/jira/browse/DERBY-6691
Project: Derby
Issue Type: Bug
Components: SQL
Affects Versions: 10.10.2.0
Reporter: Knut Anders Hatlen
Fails with assert/NPE instead of proper error:
{noformat}
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'.
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)