format TabSeparated TabSeparatedWithNames TabSeparatedWithNamesAndTypes CSV CSVWithNames Values JSONEachRow JSONCompactEachRow JSONCompactEachRowWithNamesAndTypes TSKV RowBinary Native MsgPack partitions_count 5 50 500 INSERT INTO FUNCTION file('test_file', '{format}', 'key UInt64, value UInt64') SELECT number, number FROM numbers(1000000) INSERT INTO FUNCTION file('test_file', '{format}', 'key UInt64, value1 UInt64, value2 UInt64, value3 UInt64, value4 UInt64, value5 UInt64') SELECT number, number, number, number, number, number FROM numbers(1000000) INSERT INTO FUNCTION file('test_file_{{_partition_id}}', '{format}', 'partition_id UInt64, value UInt64') PARTITION BY partition_id SELECT (number % {partitions_count}) as partition_id, number FROM numbers(1000000) INSERT INTO FUNCTION file('test_file_{{_partition_id}}', '{format}', 'partition_id UInt64, value1 UInt64, value2 UInt64, value3 UInt64, value4 UInt64, value5 UInt64') PARTITION BY partition_id SELECT (number % {partitions_count}) as partition_id, number, number, number, number, number FROM numbers(1000000)