Add JSONCompactWithProgressStrings format

This commit is contained in:
Alexey Korepanov 2024-07-08 09:02:07 +02:00
parent 2469647609
commit 00e47d64b0

View File

@ -146,6 +146,14 @@ void registerOutputFormatJSONCompactWithProgress(FormatFactory & factory)
{
return std::make_shared<JSONCompactWithProgressRowOutputFormat>(buf, sample, format_settings, false);
});
factory.registerOutputFormat("JSONCompactWithProgressStrings", [](
WriteBuffer & buf,
const Block & sample,
const FormatSettings & format_settings)
{
return std::make_shared<JSONCompactWithProgressRowOutputFormat>(buf, sample, format_settings, true);
});
}
}