본문으로 바로가기
본문으로 바로가기

JSONStringsEachRowWithProgress

설명

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"}}

형식 설정