NULL cannot automatically be casted to every other type #2594
Last updated: 2012-06-19 11:20:12 +0200
Date: 2010-07-07 15:29:53 +0200
create table skyboom (i int, ts timestamp);
select i as boom1, ts as boom2 from skyboom
The result is:
and if we could do an explicit CAST(NULL AS int) instead, it would complain about boom2.
This is a generic problem, as NULL gets typed as char, while it should be casted to any type required, unless explicitly casted to a type. Perhaps a NULL type is required.
Date: 2010-08-30 09:23:20 +0200
The Jun2010-SP2 version has been released.
Date: 2011-03-28 17:36:31 +0200
The Mar2011 version has been released.
Date: 2011-07-29 11:00:03 +0200
Apr2011-SP2 has been released.
Date: 2011-09-16 15:10:38 +0200
The Aug2011 version has been released.
Date: 2012-05-16 22:49:31 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=3012edaf1396
Date: 2012-05-16 22:51:14 +0200
implemented default NULL as type ANY.
The text was updated successfully, but these errors were encountered: