loop
CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}) AS test.hits
5
10000
100
60000
1000000
format
TabSeparated
TabSeparatedRaw
CSV
Values
Vertical
JSON
JSONCompact
JSONEachRow
JSONCompactEachRow
TSKV
Pretty
PrettyCompact
PrettyCompactMonoBlock
PrettyNoEscapes
PrettySpace
RowBinary
Native
XML
ODBCDriver2
MySQLWire
test.hits
INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000
DROP TABLE IF EXISTS table_{format}