Skip to content

JSONStringsEachRowWithProgress output format always contain zero values in the result_rows, result_bytes, elapsed_ns fields #69137

@alexkorep

Description

@alexkorep

Based on
#66205 (review)
#66205 (comment)

Describe the unexpected behaviour
result_rows, result_bytes, elapsed_ns fields in the JSONStringsEachRowWithProgress output format always contain zero values.

How to reproduce

  • ClickHouse server version 24.6.1.4410
  • Step to reproduce:
    • Login to SQL Console
    • Run SELECT * FROM metric_log limit 10000 format JSONStringsEachRowWithProgress query
      Expected behavior
      progress rows in the output contains non-zero result_rows, result_bytes, elapsed_ns fields
      Actual behavior
      progress rows in the output contain zero valuers in the result_rows, result_bytes, elapsed_ns fields, e.g.:
{"progress":{"read_rows":"10846","read_bytes":"16925474","written_rows":"0","written_bytes":"0","total_rows_to_read":"10000","result_rows":"0","result_bytes":"0","elapsed_ns":"0"}}

Metadata

Metadata

Labels

unexpected behaviourResult is unexpected, but not entirely wrong at the same time.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions