Files
impala/testdata/workloads/functional-query/queries/QueryTest/insert_null.test

29 lines
501 B
Plaintext

====
---- QUERY
# Test that we properly write null values to text tables.
insert overwrite table nullinsert
select NULL, "", "NULL", "\\N", NULL from alltypes limit 1
---- SETUP
RESET nullinsert
---- RESULTS
: 1
====
---- QUERY
select * from nullinsert
---- SETUP
RELOAD nullinsert
---- TYPES
string, string, string, string, int
---- RESULTS
'NULL','','NULL','\N',NULL
====
---- QUERY
select * from alt_nullinsert
---- SETUP
RELOAD alt_nullinsert
---- TYPES
string
---- RESULTS
'\N,,NULL,\\N,\N'
====