> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> JSONCompactEachRowWithProgress 포맷 문서

# JSONCompactEachRowWithProgress

| 입력 | 출력 | 별칭 |
| -- | -- | -- |
| ✗  | ✔  |    |

<div id="description">
  ## 설명
</div>

이 포맷은 JSONCompactEachRow의 행 단위 컴팩트 출력과 스트리밍 진행 정보를 결합합니다.
메타데이터, 개별 행, 진행률 업데이트,
합계, 예외를 각각 별도의 JSON 객체로 출력합니다. 값은 네이티브 타입으로 표현됩니다.

주요 기능:

* 먼저 컬럼 이름과 타입이 포함된 메타데이터를 출력합니다
* 각 행은 값 배열이 들어 있는 "row" 키를 포함하는 별도의 JSON 객체로 출력됩니다
* 쿼리 실행 중 진행률 업데이트를 포함합니다(`{"progress":...}` 객체 형태)
* 합계와 극값을 지원합니다
* 값은 네이티브 타입을 유지합니다(숫자는 숫자로, 문자열은 문자열로)

<div id="example-usage">
  ## 사용 예시
</div>

```sql title="Query" theme={null}
SELECT *
FROM generateRandom('a Array(Int8), d Decimal32(4), c Tuple(DateTime64(3), UUID)', 1, 10, 2)
LIMIT 5
FORMAT JSONCompactEachRowWithProgress
```

```response title="Response" theme={null}
{"meta":[{"name":"a","type":"Array(Int8)"},{"name":"d","type":"Decimal(9, 4)"},{"name":"c","type":"Tuple(DateTime64(3), UUID)"}]}
{"row":[[-8], 46848.5225, ["2064-06-11 14:00:36.578","b06f4fa1-22ff-f84f-a1b7-a5807d983ae6"]]}
{"row":[[-76], -85331.598, ["2038-06-16 04:10:27.271","2bb0de60-3a2c-ffc0-d7a7-a5c88ed8177c"]]}
{"row":[[-32], -31470.8994, ["2027-07-18 16:58:34.654","1cdbae4c-ceb2-1337-b954-b175f5efbef8"]]}
{"row":[[-116], 32104.097, ["1979-04-27 21:51:53.321","66903704-3c83-8f8a-648a-da4ac1ffa9fc"]]}
{"row":[[], 2427.6614, ["1980-04-24 11:30:35.487","fee19be8-0f46-149b-ed98-43e7455ce2b2"]]}
{"progress":{"read_rows":"5","read_bytes":"184","total_rows_to_read":"5","elapsed_ns":"335771"}}
{"rows_before_limit_at_least":5}
```

<div id="format-settings">
  ## 포맷 설정
</div>
