mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-10 02:20:48 +00:00
Fix
This commit is contained in:
parent
7e9c3f2022
commit
89ae562e83
@ -310,10 +310,10 @@ void TemplateBlockOutputStream::writeSuffix()
|
|||||||
writeValue<double, DataTypeFloat64>(watch.elapsedSeconds(), format.formats[j]);
|
writeValue<double, DataTypeFloat64>(watch.elapsedSeconds(), format.formats[j]);
|
||||||
break;
|
break;
|
||||||
case OutputPart::RowsRead:
|
case OutputPart::RowsRead:
|
||||||
writeValue<size_t, DataTypeUInt64>(progress.rows.load(), format.formats[j]);
|
writeValue<size_t, DataTypeUInt64>(progress.read_rows.load(), format.formats[j]);
|
||||||
break;
|
break;
|
||||||
case OutputPart::BytesRead:
|
case OutputPart::BytesRead:
|
||||||
writeValue<size_t, DataTypeUInt64>(progress.bytes.load(), format.formats[j]);
|
writeValue<size_t, DataTypeUInt64>(progress.read_bytes.load(), format.formats[j]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -80,7 +80,7 @@ private:
|
|||||||
ParsedTemplateFormat format;
|
ParsedTemplateFormat format;
|
||||||
ParsedTemplateFormat row_format;
|
ParsedTemplateFormat row_format;
|
||||||
|
|
||||||
size_t rows_before_limit;
|
size_t rows_before_limit = 0;
|
||||||
bool rows_before_limit_set = false;
|
bool rows_before_limit_set = false;
|
||||||
Block totals;
|
Block totals;
|
||||||
Block extremes;
|
Block extremes;
|
||||||
|
Loading…
Reference in New Issue
Block a user