mirror of
https://github.com/apache/impala.git
synced 2026-01-03 06:00:52 -05:00
28 lines
548 B
Plaintext
28 lines
548 B
Plaintext
# Test that we properly write null values to text tables.
|
|
insert overwrite table nullinsert$TABLE
|
|
select NULL, "", "NULL", "\\N", NULL from alltypes limit 1
|
|
---- SETUP
|
|
RESET nullinsert$TABLE
|
|
---- RESULTS
|
|
---- PARTITIONS
|
|
/: 1
|
|
====
|
|
select * from nullinsert$TABLE
|
|
---- SETUP
|
|
RELOAD nullinsert$TABLE
|
|
---- TYPES
|
|
string, string, string, string, int
|
|
---- PARTITIONS
|
|
---- RESULTS
|
|
'NULL','','NULL','\N',NULL
|
|
====
|
|
select * from alt_nullinsert$TABLE
|
|
---- SETUP
|
|
RELOAD alt_nullinsert$TABLE
|
|
---- TYPES
|
|
string
|
|
---- PARTITIONS
|
|
---- RESULTS
|
|
'\N,,NULL,\\N,\N'
|
|
====
|