mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Add JSONCompactWithProgressStrings format
This commit is contained in:
parent
2469647609
commit
00e47d64b0
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user