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

sql: emphasize "virtual cluster" in SQL syntax, keep "tenant" as alias #106110

Merged
merged 17 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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