LucidDB / luciddb

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

[FRG-273] SqlTypeAssignmentRules should not allow cast from DATE/TIME/TIMESTAMP to BIGINT #599

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="jvs", created="Tue, 5 Jun 2007 13:18:30 -0500 (GMT-05:00)"] See my REVIEW comment of 13-Dec-2004.

dynamobi-build commented 12 years ago

[author="jvs", created="Wed, 16 Jul 2008 14:16:52 -0500 (GMT-05:00)"] Example of something which "works" but which should not be allowed:


0: jdbc:luciddb:> values cast(current_date as bigint);
+----------------+
| EXPR$0 |
+----------------+
| 1216166400000 |
+----------------+

dynamobi-build commented 12 years ago

[author="jvs", created="Wed, 19 Nov 2008 04:42:01 -0500 (GMT-05:00)"] See FRG-133 for additional info.

dynamobi-build commented 12 years ago

[author="jvs", created="Thu, 20 Nov 2008 15:20:53 -0500 (GMT-05:00)"] Fixed on //open/dev in eigenchange 11980.