Fix commas in the statistics section

This commit is contained in:
Alexey Korepanov 2024-08-25 11:35:35 +02:00
parent 58aab9b8c7
commit af3f600b5c

View File

@ -563,17 +563,17 @@ namespace JSONUtils
writeCompactObjectStart(out, 0, "statistics");
writeTitle("rows", out, 0, "");
writeIntText(rows, out);
writeFieldCompactDelimiter(out);
if (applied_limit)
{
writeFieldCompactDelimiter(out);
writeTitle("rows_before_limit_at_least", out, 0, "");
writeIntText(rows_before_limit, out);
writeFieldCompactDelimiter(out);
}
if (write_statistics)
{
writeFieldCompactDelimiter(out);
writeTitle("elapsed", out, 0, "");
writeText(watch.elapsedSeconds(), out);
writeFieldCompactDelimiter(out);