1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-10 22:28:53 +00:00

More tests

This commit is contained in:
Colin Dellow
2018-03-07 20:30:25 -05:00
parent 35fcde926c
commit 2d616c54fb
7 changed files with 326 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ COPY nulls FROM '$here/nulls.csv';
CREATE OR REPLACE FUNCTION quote(TEXT) RETURNS TEXT AS \$\$
BEGIN
RETURN \$1;
RETURN CASE WHEN \$1 IS NULL THEN 'NULL' ELSE \$1 END;
END;
\$\$ LANGUAGE 'plpgsql' IMMUTABLE;