0
format
TabSeparated
TabSeparatedWithNames
TabSeparatedWithNamesAndTypes
CSV
CSVWithNames
CSVWithNamesAndTypes
CustomSeparated
CustomSeparatedWithNames
CustomSeparatedWithNamesAndTypes
Values
JSONEachRow
JSONCompactEachRow
JSONCompactEachRowWithNames
JSONCompactEachRowWithNamesAndTypes
JSON
JSONCompact
JSONColumns
JSONCompactColumns
JSONColumnsWithMetadata
JSONObjectEachRow
BSONEachRow
TSKV
Avro
MsgPack
format_fast
Protobuf
ProtobufList
CapnProto
ORC
Parquet
CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}) AS test.hits
CREATE TABLE IF NOT EXISTS table_{format_fast} (s String) ENGINE = File({format_fast})
INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000 SETTINGS engine_file_truncate_on_insert=1
INSERT INTO table_{format_fast} SELECT randomString(1000) FROM numbers(1000000) SETTINGS engine_file_truncate_on_insert=1
SELECT count() FROM table_{format} FORMAT Null
SELECT count() FROM table_{format_fast} FORMAT Null
SELECT count() FROM table_{format} group by _file, _path FORMAT Null
SELECT count() FROM table_{format_fast} group by _file, _path FORMAT Null
SELECT _path, _file FROM table_{format} group by _file, _path FORMAT Null
SELECT _path, _file FROM table_{format_fast} group by _file, _path FORMAT Null
DROP TABLE IF EXISTS table_{format}
DROP TABLE IF EXISTS table_{format_fast}