mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
Fix JSON totals.
This commit is contained in:
parent
4311904af4
commit
3155c6ff90
@ -79,7 +79,7 @@ void JSONRowOutputFormat::writeField(const IColumn & column, const IDataType & t
|
||||
void JSONRowOutputFormat::writeTotalsField(const IColumn & column, const IDataType & type, size_t row_num)
|
||||
{
|
||||
writeCString("\t\t", *ostr);
|
||||
writeJSONString(fields[field_number].name, *ostr, settings);
|
||||
writeString(fields[field_number].name, *ostr);
|
||||
writeCString(": ", *ostr);
|
||||
type.serializeAsTextJSON(column, row_num, *ostr, settings);
|
||||
++field_number;
|
||||
|
Loading…
Reference in New Issue
Block a user