You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/08/06 22:10:13 UTC

[jira] [Commented] (DERBY-6691) ROW_NUMBER should not be allowed as argument in a procedure call

    [ https://issues.apache.org/jira/browse/DERBY-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14088165#comment-14088165 ] 

ASF subversion and git services commented on DERBY-6691:
--------------------------------------------------------

Commit 1616335 from [~dagw] in branch 'code/trunk'
[ https://svn.apache.org/r1616335 ]

DERBY-6691 ROW_NUMBER should not be allowed as argument in a procedure call

Patch *derby-6691* makes this usage throw 42ZC2 and adds a test to
OLAPTest#testBasicOperations.

> 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
>         Attachments: derby-6691.diff
>
>
> 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)