Back to Clickhouse

JSONEachRowWithProgress

docs/en/interfaces/formats/JSON/JSONEachRowWithProgress.md

26.4.1.1-new624 B
Original Source
InputOutputAlias

Description {#description}

Differs from JSONEachRow/JSONStringsEachRow in that ClickHouse will also yield progress information as JSON values.

Example usage {#example-usage}

json
{"row":{"num":42,"str":"hello","arr":[0,1]}}
{"row":{"num":43,"str":"hello","arr":[0,1,2]}}
{"row":{"num":44,"str":"hello","arr":[0,1,2,3]}}
{"progress":{"read_rows":"3","read_bytes":"24","written_rows":"0","written_bytes":"0","total_rows_to_read":"3"}}

Format settings {#format-settings}