mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Fix formatting
This commit is contained in:
parent
c42815a139
commit
312d32aaf9
@ -117,7 +117,8 @@ void JSONCompactWithProgressRowOutputFormat::writeProgress()
|
||||
|
||||
void JSONCompactWithProgressRowOutputFormat::finalizeImpl()
|
||||
{
|
||||
if (exception_message.empty()) {
|
||||
if (exception_message.empty())
|
||||
{
|
||||
JSONUtils::writeCompactAdditionalInfo(
|
||||
row_count,
|
||||
statistics.rows_before_limit,
|
||||
@ -126,7 +127,9 @@ void JSONCompactWithProgressRowOutputFormat::finalizeImpl()
|
||||
statistics.progress,
|
||||
settings.write_statistics,
|
||||
*ostr);
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
JSONUtils::writeCompactObjectStart(*ostr);
|
||||
JSONUtils::writeException(exception_message, *ostr, settings, 0);
|
||||
JSONUtils::writeCompactObjectEnd(*ostr);
|
||||
|
Loading…
Reference in New Issue
Block a user