Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CDB8DC840 for ; Thu, 7 Aug 2014 16:02:12 +0000 (UTC) Received: (qmail 74636 invoked by uid 500); 7 Aug 2014 16:02:12 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 74613 invoked by uid 500); 7 Aug 2014 16:02:12 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 74603 invoked by uid 99); 7 Aug 2014 16:02:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 16:02:12 +0000 Date: Thu, 7 Aug 2014 16:02:12 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6691) ROW_NUMBER should not be allowed as argument in a procedure call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089374#comment-14089374 ] ASF subversion and git services commented on DERBY-6691: -------------------------------------------------------- Commit 1616519 from [~dagw] in branch 'code/branches/10.11' [ https://svn.apache.org/r1616519 ] DERBY-6691 ROW_NUMBER should not be allowed as argument in a procedure call Backported cleanly from trunk as: svn merge -c 1616335 https://svn.apache.org/repos/asf/db/derby/code/trunk 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 > Fix For: 10.11.1.1, 10.12.0.0 > > 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)