LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-171] generated java code to cast nullable types does not perform rounding #701

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="jpham", created="Fri, 21 Jul 2006 10:09:21 -0500 (GMT-05:00)"] hi xiaoyang, if you have some time could you look at
this one? as usual, you can also return the bug to us.

create schema s;
set schema 's';

create table adouble (i int primary key, d double);
insert into adouble values (0, 1.9);
select cast (d as bigint) from adouble;

the query casts 1.9 to be 1

dynamobi-build commented 12 years ago

[author="jpham", created="Sun, 24 Sep 2006 14:48:19 -0500 (GMT-05:00)"] should be fixed by lu 7760

dynamobi-build commented 12 years ago

[author="jpham", created="Sun, 24 Sep 2006 14:57:51 -0500 (GMT-05:00)"] duplicate of FRG-204