Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-23.1: sql: emphasize "virtual cluster" for tenant management in user-facing UX #106376

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e0704c6
sql: backup option `INCLUDE_ALL_VIRTUAL_CLUSTERS`
knz Jul 4, 2023
cb77035
backupccl: use `include_all_virtual_clusters` in errors and tests
knz Jul 4, 2023
48c2a3f
sql: new option `VIRTUAL_CLUSTER_NAME`
knz Jul 4, 2023
0777283
backupccl: use `virtual_cluster_name` in tests
knz Jul 4, 2023
865a25f
sql: new option `VIRTUAL_CLUSTER`
knz Jul 4, 2023
55b0f7a
backupccl: use the `virtual_cluster` option in tests
knz Jul 4, 2023
c1d3664
sql: `CREATE VIRTUAL CLUSTER` (aliased by `CREATE TENANT`)
knz Jul 4, 2023
a9c4614
sql: use `CREATE VIRTUAL CLUSTER` in errors and help texts
knz Jul 4, 2023
82c8fea
sql: `DROP VIRTUAL CLUSTER` (aliased by `DROP TENANT`)
knz Jul 4, 2023
479dfdb
sql: use `DROP VIRTUAL CLUSTER` in errors and help texts
knz Jul 4, 2023
edd2965
sql: `SHOW VIRTUAL CLUSTER[s]` (aliased by `SHOW TENANT[s]`)
knz Jul 4, 2023
6eb4060
sql: `SHOW CLUSTER SETTING[s] FOR VIRTUAL CLUSTER` (aliased by `...FO…
knz Jul 4, 2023
e544ffe
sql: `BACKUP VIRTUAL CLUSTER` (aliased by `BACKUP TENANT`)
knz Jul 4, 2023
e3b177c
sql: `ALTER VIRTUAL CLUSTER` (aliased by `ALTER TENANT`)
knz Jul 4, 2023
74b9098
sql: use `ALTER VIRTUAL CLUSTER` in error messages and config profiles
knz Jul 4, 2023
9e66d7e
sql/parser: rename `tenant_spec` to `virtual_cluster_spec`
knz Jul 4, 2023
c146cda
sql/parser: rename some invisible non-terminals
knz Jul 4, 2023
f57a25e
configprofiles: emphasize "cluster virtualization"
knz Jul 4, 2023
e2735d5
sql: session var `disable_drop_virtual_cluster`
knz Jul 4, 2023
ff2480d
cli/zip: Use "cluster" to identify the logical cluster instead of "te…
knz Jul 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/generated/sql/bnf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ FILES = [
"alter_zone_table_stmt",
"analyze_stmt",
"backup",
"backup_options",
"begin_stmt",
"begin_transaction",
"cancel_all_jobs_stmt",
Expand Down Expand Up @@ -126,7 +127,6 @@ FILES = [
"drop_sequence_stmt",
"drop_stmt",
"drop_table",
"drop_tenant_stmt",
"drop_type",
"drop_view",
"execute_stmt",
Expand Down Expand Up @@ -162,7 +162,6 @@ FILES = [
"opt_frame_clause",
"opt_locality",
"opt_persistence_temp_table",
"opt_show_tenant_options",
"opt_with_storage_parameter_list",
"pause_all_jobs_stmt",
"pause_job",
Expand All @@ -185,6 +184,7 @@ FILES = [
"reset_session_stmt",
"reset_stmt",
"restore",
"restore_options",
"resume_all_jobs_stmt",
"resume_job",
"resume_schedule",
Expand Down Expand Up @@ -228,7 +228,6 @@ FILES = [
"show_indexes_stmt",
"show_jobs",
"show_keys",
"show_local_or_tenant_csettings_stmt",
"show_locality",
"show_locality_stmt",
"show_partitions_stmt",
Expand All @@ -246,7 +245,6 @@ FILES = [
"show_stats",
"show_survival_goal_stmt",
"show_tables",
"show_tenant_stmt",
"show_trace",
"show_transactions_stmt",
"show_transfer_stmt",
Expand All @@ -264,8 +262,6 @@ FILES = [
"table_clause",
"table_constraint",
"table_ref",
"tenant_capability",
"tenant_capability_list",
"transaction_stmt",
"truncate_stmt",
"unique_column_level",
Expand Down
11 changes: 11 additions & 0 deletions docs/generated/sql/bnf/backup_options.bnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
backup_options ::=
'ENCRYPTION_PASSPHRASE' '=' string_or_placeholder
| 'REVISION_HISTORY'
| 'REVISION_HISTORY' '=' a_expr
| 'DETACHED'
| 'DETACHED' '=' 'TRUE'
| 'DETACHED' '=' 'FALSE'
| 'KMS' '=' string_or_placeholder_opt_list
| 'INCREMENTAL_LOCATION' '=' string_or_placeholder_opt_list
| 'EXECUTION' 'LOCALITY' '=' string_or_placeholder
| 'INCLUDE_ALL_VIRTUAL_CLUSTERS' '=' a_expr
1 change: 0 additions & 1 deletion docs/generated/sql/bnf/drop_stmt.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ drop_stmt ::=
| drop_role_stmt
| drop_schedule_stmt
| drop_external_connection_stmt
| drop_tenant_stmt
3 changes: 0 additions & 3 deletions docs/generated/sql/bnf/drop_tenant_stmt.bnf

This file was deleted.

2 changes: 0 additions & 2 deletions docs/generated/sql/bnf/opt_show_tenant_options.bnf

This file was deleted.

21 changes: 21 additions & 0 deletions docs/generated/sql/bnf/restore_options.bnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
restore_options ::=
'ENCRYPTION_PASSPHRASE' '=' string_or_placeholder
| 'KMS' '=' string_or_placeholder_opt_list
| 'INTO_DB' '=' string_or_placeholder
| 'SKIP_MISSING_FOREIGN_KEYS'
| 'SKIP_MISSING_SEQUENCES'
| 'SKIP_MISSING_SEQUENCE_OWNERS'
| 'SKIP_MISSING_VIEWS'
| 'SKIP_MISSING_UDFS'
| 'DETACHED'
| 'SKIP_LOCALITIES_CHECK'
| 'DEBUG_PAUSE_ON' '=' string_or_placeholder
| 'NEW_DB_NAME' '=' string_or_placeholder
| 'INCLUDE_ALL_VIRTUAL_CLUSTERS'
| 'INCLUDE_ALL_VIRTUAL_CLUSTERS' '=' a_expr
| 'INCREMENTAL_LOCATION' '=' string_or_placeholder_opt_list
| 'VIRTUAL_CLUSTER_NAME' '=' string_or_placeholder
| 'VIRTUAL_CLUSTER' '=' string_or_placeholder
| 'SCHEMA_ONLY'
| 'VERIFY_BACKUP_TABLE_DATA'
| 'UNSAFE_RESTORE_INCOMPATIBLE_VERSION'

This file was deleted.

4 changes: 0 additions & 4 deletions docs/generated/sql/bnf/show_tenant_stmt.bnf

This file was deleted.

2 changes: 0 additions & 2 deletions docs/generated/sql/bnf/show_var.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ show_stmt ::=
| show_create_stmt
| show_create_schedules_stmt
| show_create_external_connections_stmt
| show_local_or_tenant_csettings_stmt
| show_databases_stmt
| show_enums_stmt
| show_types_stmt
Expand All @@ -29,7 +28,6 @@ show_stmt ::=
| show_sessions_stmt
| show_stats_stmt
| show_tables_stmt
| show_tenant_stmt
| show_trace_stmt
| show_transactions_stmt
| show_transfer_stmt
Expand Down
Loading