Skip to content

Commit d4b68a5

Browse files
authored
Merge pull request #7734 from soyeric128/sql-dialect
docs: add sql dialect
2 parents fb48117 + 9c77cb0 commit d4b68a5

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

docs/doc/30-reference/30-sql/80-setting-cmds/show-settings.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,26 @@ SHOW SETTINGS;
1515
```sql
1616
SHOW SETTINGS;
1717

18-
|name |value |default|level |description |type |
19-
|------------------------------|-------|-------|-------|--------------------------------------------------------------------------------------------------|------|
20-
|compression |None |None |SESSION|Format compression, default value: None |String|
21-
|empty_as_default |1 |1 |SESSION|Format empty_as_default, default value: 1 |UInt64|
22-
|enable_async_insert |0 |0 |SESSION|Whether the client open async insert mode, default value: 0 |UInt64|
23-
|enable_new_processor_framework|1 |1 |SESSION|Enable new processor framework if value != 0, default value: 1 |UInt64|
24-
|enable_planner_v2 |0 |0 |SESSION|Enable planner v2 by setting this variable to 1, default value: 0 |UInt64|
25-
|field_delimiter |, |, |SESSION|Format field delimiter, default value: , |String|
26-
|flight_client_timeout |60 |60 |SESSION|Max duration the flight client request is allowed to take in seconds. By default, it is 60 seconds|UInt64|
27-
|group_by_two_level_threshold |10000 |10000 |SESSION|The threshold of keys to open two-level aggregation, default value: 10000 |UInt64|
28-
|max_block_size |10000 |10000 |SESSION|Maximum block size for reading |UInt64|
29-
|max_execute_time |0 |0 |SESSION|The maximum query execution time. it means no limit if the value is zero. default value: 0 |UInt64|
30-
|max_threads |4 |16 |SESSION|The maximum number of threads to execute the request. By default, it is determined automatically. |UInt64|
31-
|record_delimiter |¶ |¶ |SESSION|Format record_delimiter, default value: ¶ |String|
32-
|skip_header |0 |0 |SESSION|Whether to skip the input header, default value: 0 |UInt64|
33-
|storage_read_buffer_size |1048576|1048576|SESSION|The size of buffer in bytes for buffered reader of dal. By default, it is 1MB. |UInt64|
34-
|timezone |UTC |UTC |SESSION|Timezone, default value: UTC, |String|
35-
|wait_for_async_insert |1 |1 |SESSION|Whether the client wait for the reply of async insert, default value: 1 |UInt64|
36-
|wait_for_async_insert_timeout |100 |100 |SESSION|The timeout in seconds for waiting for processing of async insert, default value: 100 |UInt64|
18+
| name | value | default | level | description | type |
19+
|--------------------------------|------------|------------|---------|----------------------------------------------------------------------------------------------------|--------|
20+
| compression | None | None | SESSION | Format compression, default value: None | String |
21+
| empty_as_default | 1 | 1 | GLOBAL | Format empty_as_default, default value: 1 | UInt64 |
22+
| enable_async_insert | 0 | 0 | SESSION | Whether the client open async insert mode, default value: 0 | UInt64 |
23+
| enable_new_processor_framework | 1 | 1 | SESSION | Enable new processor framework if value != 0, default value: 1 | UInt64 |
24+
| enable_planner_v2 | 1 | 1 | SESSION | Enable planner v2 by setting this variable to 1, default value: 1 | UInt64 |
25+
| field_delimiter | , | , | SESSION | Format field delimiter, default value: , | String |
26+
| flight_client_timeout | 60 | 60 | SESSION | Max duration the flight client request is allowed to take in seconds. By default, it is 60 seconds | UInt64 |
27+
| group_by_two_level_threshold | 10000 | 10000 | SESSION | The threshold of keys to open two-level aggregation, default value: 10000 | UInt64 |
28+
| max_block_size | 10000 | 10000 | SESSION | Maximum block size for reading | UInt64 |
29+
| max_execute_time | 0 | 0 | SESSION | The maximum query execution time. it means no limit if the value is zero. default value: 0 | UInt64 |
30+
| max_threads | 8 | 16 | GLOBAL | The maximum number of threads to execute the request. By default, it is determined automatically. | UInt64 |
31+
| quoted_ident_case_sensitive | 1 | 1 | SESSION | Case sensitivity of quoted identifiers, default value: 1 (aka case-sensitive) | UInt64 |
32+
| record_delimiter | "\n" | "\n" | SESSION | Format record_delimiter, default value: "\n" | String |
33+
| skip_header | 1 | 0 | GLOBAL | Whether to skip the input header, default value: 0 | UInt64 |
34+
| sql_dialect | PostgreSQL | PostgreSQL | SESSION | SQL dialect, support "PostgreSQL" and "MySQL", default value: "PostgreSQL" | String |
35+
| storage_read_buffer_size | 1048576 | 1048576 | SESSION | The size of buffer in bytes for buffered reader of dal. By default, it is 1MB. | UInt64 |
36+
| timezone | UTC | UTC | SESSION | Timezone, default value: UTC, | String |
37+
| unquoted_ident_case_sensitive | 0 | 0 | SESSION | Case sensitivity of unquoted identifiers, default value: 0 (aka case-insensitive) | UInt64 |
38+
| wait_for_async_insert | 1 | 1 | SESSION | Whether the client wait for the reply of async insert, default value: 1 | UInt64 |
39+
| wait_for_async_insert_timeout | 100 | 100 | SESSION | The timeout in seconds for waiting for processing of async insert, default value: 100 | UInt64 |
3740
```

0 commit comments

Comments
 (0)