-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6394 from TCeason/ISSUE-6364/support_show_setting…
…s_like feat: show settings support like
- Loading branch information
Showing
10 changed files
with
87 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tests/suites/0_stateless/06_show/06_0003_show_settings_v2.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
compression None None SESSION Format compression, default value: None String | ||
empty_as_default 1 1 SESSION Format empty_as_default, default value: 1 UInt64 | ||
enable_async_insert 0 0 SESSION Whether the client open async insert mode, default value: 0 UInt64 | ||
enable_new_processor_framework 1 1 SESSION Enable new processor framework if value != 0, default value: 1 UInt64 | ||
enable_planner_v2 1 0 SESSION Enable planner v2 by setting this variable to 1, default value: 0 UInt64 | ||
field_delimiter , , SESSION Format field delimiter, default value: , String | ||
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 | ||
group_by_two_level_threshold 10000 10000 SESSION The threshold of keys to open two-level aggregation, default value: 10000 UInt64 | ||
max_block_size 10000 10000 SESSION Maximum block size for reading UInt64 | ||
max_threads 11 16 SESSION The maximum number of threads to execute the request. By default, it is determined automatically. UInt64 | ||
record_delimiter \n \n SESSION Format record_delimiter, default value: \n String | ||
skip_header 0 0 SESSION Whether to skip the input header, default value: 0 UInt64 | ||
storage_read_buffer_size 1048576 1048576 SESSION The size of buffer in bytes for buffered reader of dal. By default, it is 1MB. UInt64 | ||
timezone UTC UTC SESSION Timezone, default value: UTC, String | ||
wait_for_async_insert 1 1 SESSION Whether the client wait for the reply of async insert, default value: 1 UInt64 | ||
wait_for_async_insert_timeout 100 100 SESSION The timeout in seconds for waiting for processing of async insert, default value: 100 UInt64 | ||
enable_async_insert 0 0 SESSION Whether the client open async insert mode, default value: 0 UInt64 | ||
enable_new_processor_framework 1 1 SESSION Enable new processor framework if value != 0, default value: 1 UInt64 | ||
enable_planner_v2 1 0 SESSION Enable planner v2 by setting this variable to 1, default value: 0 UInt64 |
6 changes: 6 additions & 0 deletions
6
tests/suites/0_stateless/06_show/06_0003_show_settings_v2.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SET enable_planner_v2=1; | ||
SET max_threads=11; | ||
SET unknown_settings=11; -- {ErrorCode 2801} | ||
SHOW SETTINGS; | ||
SHOW SETTINGS LIKE 'enable%'; | ||
SET enable_planner_v2=0; |