Last updated: 2016-01-15 11:38:07 +0100
Date: 2009-03-22 20:35:41 +0100
There are two issues here; one is easy to reproduce the other one I cannot yet reproduce in a smaller setting.
Create a file /tmp/nullcheck containing:
create table testnull (test varchar(10));
select * from testnull will give now an empty value.
While: insert into testnull values('null'); will result into the string 'null' inside the table.
The actual observation was that anything starting with 'nu...' would become a null variable; but outside the OSM insert script I cannot reproduce this behavior. The expected behavior would be that 'null' would be just the string. While the quoteless variant would get into NULL.
Date: 2009-03-22 22:38:35 +0100
Other (worse) example now works too:
CREATE TABLE "sys"."node_tags" (
COPY 1 RECORDS INTO node_tags from '/tmp/nulltest' USING DELIMITERS ',', '\n', '''';
sql>select * from node_tags;
Date: 2009-04-01 17:35:35 +0200
This was fixed.
Date: 2010-05-04 09:32:09 +0200
This bug was previously known as tracker item 2704016 at http://sourceforge.net/support/tracker.php?aid=2704016
Date: 2015-11-06 11:38:10 +0100
This issue seems to pop up again in Jul2015 (tested on 11.21.6):
$ cat temp.data
$ mclient -lsql -p50110 test001 < temp.data
Date: 2015-11-28 17:31:21 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=366cebe9e451
Date: 2015-11-28 17:31:43 +0100
allow for null's in copy into strings
The text was updated successfully, but these errors were encountered: