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 "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2007/12/16 21:07:43 UTC
[jira] Commented: (DERBY-3277) CREATE TABLE Test (n BIGINT);SELECT
CASE WHEN n > -1 THEN n END FROM Test; FAILS
[ https://issues.apache.org/jira/browse/DERBY-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552283 ]
Knut Anders Hatlen commented on DERBY-3277:
-------------------------------------------
This is a duplicate of DERBY-1620.
> 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.