CREATE TABLE IF NOT EXISTS table_tsv (s Nullable(String)) ENGINE = File('TSV') CREATE TABLE IF NOT EXISTS table_csv (s Nullable(String)) ENGINE = File('CSV') INSERT INTO table_tsv SELECT number % 2 ? 'Some text' : NULL FROM numbers(1000000) FORMAT TSV INSERT INTO table_csv SELECT number % 2 ? 'Some text' : NULL FROM numbers(1000000) FORMAT CSV SELECT * FROM table_tsv FORMAT Null SELECT * FROM table_csv FORMAT Null DROP TABLE IF EXISTS table_tsv DROP TABLE IF EXISTS table_csv