mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Merge branch 'Custom-null-representation-in-TCV' of https://github.com/Avogar/ClickHouse into Avogar-Custom-null-representation-in-TCV
This commit is contained in:
commit
b4401e8298
@ -0,0 +1 @@
|
||||
MyNull
|
14
tests/queries/0_stateless/01474_custom_null_tsv.sh
Normal file
14
tests/queries/0_stateless/01474_custom_null_tsv.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS tsv_custom_null";
|
||||
$CLICKHOUSE_CLIENT --query="CREATE TABLE regexp (id Nullable(UInt32)) ENGINE = Memory";
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO tsv_custom_null VALUES (NULL)";
|
||||
|
||||
$CLICHHOUSE_CLIENT --output_format_tsv_null_representation='MyNull' --query="SELECT * FROM tsv_custom_null FORMAT TSV";
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE tsv_custom_null";
|
||||
|
Loading…
Reference in New Issue
Block a user