mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
try fix batch async insert settings for Distributed
This commit is contained in:
parent
0d39968233
commit
b394a79af3
@ -463,8 +463,7 @@ void StorageDistributedDirectoryMonitor::processFilesWithBatching(const std::map
|
|||||||
{
|
{
|
||||||
/// Determine metadata of the current file and check if it is not broken.
|
/// Determine metadata of the current file and check if it is not broken.
|
||||||
ReadBufferFromFile in{file_path};
|
ReadBufferFromFile in{file_path};
|
||||||
insert_settings.deserialize(in);
|
readQueryAndSettings(in, insert_settings, insert_query);
|
||||||
readStringBinary(insert_query, in);
|
|
||||||
|
|
||||||
CompressedReadBuffer decompressing_in(in);
|
CompressedReadBuffer decompressing_in(in);
|
||||||
NativeBlockInputStream block_in(decompressing_in, ClickHouseRevision::get());
|
NativeBlockInputStream block_in(decompressing_in, ClickHouseRevision::get());
|
||||||
|
Loading…
Reference in New Issue
Block a user