JSONStringsEachRowWithProgress 형식
JSONStringsEachRowWithProgress 형식
JSONStringsEachRowWithProgress 형식은 JSONEachRow/JSONStringsEachRow와 달리 ClickHouse가 진행(progress) 정보도 JSON 값으로 출력해요. 각 행은 "row" 객체로, 진행 상황은 "progress" 객체로 표시되며 값은 문자열로 표현됩니다.
출처: 문서
본문
설명 (Description)
JSONEachRow/JSONStringsEachRow와 달리 ClickHouse는 진행 정보도 JSON 값으로 제공합니다.
사용 예시 (Example usage)
{"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"}}