PrettyNoEscapes 형식
PrettyNoEscapes 형식
PrettyNoEscapes 형식은 ANSI 이스케이프 시퀀스를 사용하지 않는다는 점만 Pretty 형식과 달라요. 브라우저에서 형식을 표시하거나 ‘watch’ 명령줄 유틸리티를 사용할 때 필요합니다.
출처: 문서
본문
| Input | Output | Alias |
|---|---|---|
| ✗ | ✔ |
설명 (Description)
ANSI 이스케이프 시퀀스를 사용하지 않는다는 점만 Pretty와 다릅니다. 브라우저에서 형식을 표시하거나 ‘watch’ 명령줄 유틸리티를 사용할 때 필요합니다.
사용 예시 (Example usage)
예시:
$ watch -n1 "clickhouse-client --query='SELECT event, value FROM system.events FORMAT PrettyCompactNoEscapes'"
HTTP 인터페이스를 사용해 이 형식을 브라우저에 표시할 수 있습니다.
형식 설정 (Format settings)
다음 설정은 모든 Pretty 형식에 공통입니다:
| Setting | Description | Default |
|---|---|---|
| output_format_pretty_max_rows | Row limit for Pretty formats. | 10000 |
| output_format_pretty_max_column_pad_width | Maximum width to pad all values in a column in Pretty formats. | 250 |
| output_format_pretty_max_value_width | Maximum width of value to display in Pretty formats. If greater - it will be cut. | 10000 |
| output_format_pretty_color | Use ANSI escape sequences to paint colors in Pretty formats. | true |
| output_format_pretty_grid_charset | Charset for printing grid borders. Available charsets: ASCII, UTF-8. | UTF-8 |
| output_format_pretty_row_numbers | Add row numbers before each row for pretty output format. | true |
| output_format_pretty_display_footer_column_names | Display column names in the footer if table contains many rows. | true |
| output_format_pretty_display_footer_column_names_min_rows | Sets the minimum number of rows for which a footer will be displayed if output_format_pretty_display_footer_column_names is enabled. | 50 |