CREATE TABLE Test (n BIGINT);SELECT CASE WHEN n > -1 THEN n END FROM Test; FAILS
--------------------------------------------------------------------------------
Key: DERBY-3277
URL: https://issues.apache.org/jira/browse/DERBY-3277
Project: Derby
Issue Type: Bug
Components: SQL
Affects Versions: 10.2.2.0
Environment: ~ $ java -version; uname -primo
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
2.6.23-gentoo-r3-6 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
GenuineIntel GNU/Linux
Reporter: James Alan Shepherd
Priority: Minor
Fix For: 10.3.2.1
ij> CREATE TABLE Test (n BIGINT);
0 rows inserted/updated/deleted
ij> SELECT CASE WHEN n > -1 THEN n END FROM Test;
ERROR 42X89: Types 'BIGINT' and 'CHAR' are not type compatible. Neither type is
assignable to the other type.
ij>
fixed in 10.3.2.1, so this is just posted FYI
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.