Update StreamingFormatExecutor.h

This commit is contained in:
Kruglov Pavel 2023-02-21 16:57:44 +01:00 committed by GitHub
parent 341a776617
commit a25255cabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ public:
StreamingFormatExecutor(
const Block & header_,
InputFormatPtr format_,
ErrorCallback on_error_ = [](const MutableColumns &, Exception & e) -> size_t { throw e; },
ErrorCallback on_error_ = [](const MutableColumns &, Exception & e) -> size_t { throw std::move(e); },
SimpleTransformPtr adding_defaults_transform_ = nullptr);
/// Returns numbers of new read rows.