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