跳到主要内容
跳到主要内容

JSONEachRowWithProgress

输入输出别名

描述

JSONEachRow/JSONStringsEachRow 的区别在于,ClickHouse 还会以 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"}}

格式设置