mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
Add comment in ParallelInputFormat, remove unneded include
This commit is contained in:
parent
dbd24b240c
commit
35d975bfea
@ -3,7 +3,6 @@
|
||||
#include <Processors/Formats/Impl/JSONEachRowRowOutputFormat.h>
|
||||
#include <Formats/FormatFactory.h>
|
||||
#include <Formats/JSONUtils.h>
|
||||
#include <Common/logger_useful.h>
|
||||
|
||||
|
||||
namespace DB
|
||||
|
@ -29,6 +29,10 @@ namespace DB
|
||||
}
|
||||
}
|
||||
|
||||
/// The code below is required to write valid output in case of exception during parallel parsing,
|
||||
/// because we finish formatting and collecting threads in case of exception.
|
||||
/// So, in case of exception after finalize we could still not output prefix/suffix or finalize underlying format.
|
||||
|
||||
if (collected_prefix && collected_suffix && collected_finalize)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user