mirror of
https://github.com/apache/impala.git
synced 2025-12-31 15:00:10 -05:00
29 lines
501 B
Plaintext
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'
|
|
====
|