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 "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2014/08/05 02:41:12 UTC
[jira] [Assigned] (DERBY-6565) ROW_NUMBER function throws
NullPointerException in UPDATE statement
[ https://issues.apache.org/jira/browse/DERBY-6565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dag H. Wanvik reassigned DERBY-6565:
------------------------------------
Assignee: Dag H. Wanvik
> ROW_NUMBER function throws NullPointerException in UPDATE statement
> -------------------------------------------------------------------
>
> Key: DERBY-6565
> URL: https://issues.apache.org/jira/browse/DERBY-6565
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.10.2.0
> Reporter: Knut Anders Hatlen
> Assignee: Dag H. Wanvik
> Priority: Minor
>
> A NullPointerException is raised with this (possibly illegal?) UPDATE statement:
> {noformat}
> ij version 10.10
> ij> connect 'jdbc:derby:memory:db;create=true';
> ij> create table t(x int);
> 0 rows inserted/updated/deleted
> ij> insert into t values 1;
> 1 row inserted/updated/deleted
> ij> update t set x = row_number() over ();
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)