Skip to content
Open
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
120 changes: 60 additions & 60 deletions docs/generated/sql/bnf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ FILES = [
"alter_database_survival_goal_stmt",
"alter_database_to_schema_stmt",
"alter_ddl_stmt",
"alter_default_privileges_stmt",
"alter_default_privileges",
"alter_external_connection",
"alter_func_stmt",
"alter_func",
"alter_func_options_stmt",
"alter_func_rename_stmt",
"alter_func_owner_stmt",
Expand All @@ -40,13 +40,13 @@ FILES = [
"alter_index_partition_by",
"alter_index",
"alter_index_visible_stmt",
"alter_job_stmt",
"alter_job",
"alter_partition_stmt",
"alter_primary_key",
"alter_range_relocate_stmt",
"alter_range",
"alter_rename_view_stmt",
"alter_role_stmt",
"alter_role",
"alter_scatter_index_stmt",
"alter_scatter_stmt",
"alter_schema",
Expand All @@ -73,12 +73,12 @@ FILES = [
"alter_virtual_cluster_rename",
"alter_virtual_cluster_replication",
"alter_virtual_cluster_service",
"alter_zone_database_stmt",
"alter_zone_index_stmt",
"alter_zone_partition_stmt",
"alter_zone_range_stmt",
"alter_zone_table_stmt",
"analyze_stmt",
"alter_zone_database",
"alter_zone_index",
"alter_zone_partition",
"alter_zone_range",
"alter_zone_table",
"analyze",
"backup",
"backup_options",
"begin_transaction",
Expand All @@ -97,69 +97,69 @@ FILES = [
"comment",
"commit_prepared_stmt",
"commit_transaction",
"copy_stmt",
"copy",
"copy_to_stmt",
"create_as_col_qual_list",
"create_as_constraint_def",
"create_changefeed_stmt",
"create_database_stmt",
"create_changefeed",
"create_database",
"create_ddl_stmt",
"create_extension_stmt",
"create_external_connection",
"create_func",
"create_index_stmt",
"create_index",
"create_index_with_storage_param",
"create_inverted_index_stmt",
"create_inverted_index",
"create_logical_replication_stream_stmt",
"create_policy_stmt",
"create_proc",
"create_role_stmt",
"create_schedule_for_backup_stmt",
"create_schedule_for_changefeed_stmt",
"create_role",
"create_schedule_for_backup",
"create_schedule_for_changefeed",
"create_schedule_stmt",
"create_schema_stmt",
"create_sequence_stmt",
"create_stats_stmt",
"create_schema",
"create_sequence",
"create_stats",
"create_stmt",
"create_table_as_stmt",
"create_table_as",
"create_table_with_storage_param",
"create_table_stmt",
"create_table",
"create_trigger",
"create_type",
"create_view_stmt",
"create_view",
"check_stmt",
"deallocate_stmt",
"declare_cursor_stmt",
"declare_cursor",
"default_value_column_level",
"delete_stmt",
"delete",
"discard_stmt",
"do",
"drop_column",
"drop_constraint",
"drop_database",
"drop_ddl_stmt",
"drop_external_connection_stmt",
"drop_func_stmt",
"drop_external_connection",
"drop_func",
"drop_policy_stmt",
"drop_proc",
"drop_index",
"drop_owned_by_stmt",
"drop_role_stmt",
"drop_role",
"drop_schedule_stmt",
"drop_schema",
"drop_sequence_stmt",
"drop_stmt",
"drop_sequence",
"drop",
"drop_table",
"drop_trigger",
"drop_type",
"drop_view",
"execute_schedules_stmt",
"execute_stmt",
"experimental_audit",
"explain_analyze_stmt",
"explain_stmt",
"explain_analyze",
"explain",
"explainable_stmt",
"export_stmt",
"export",
"family_def",
"fetch_cursor_stmt",
"fingerprint_options",
Expand All @@ -168,19 +168,19 @@ FILES = [
"foreign_key_column_level",
"foreign_key_table_level",
"generic_set",
"grant_stmt",
"grant",
"import_csv",
"import_dump",
"import_into",
"index_def",
"insert_rest",
"insert_stmt",
"insert",
"inspect_stmt",
"inspect_database_stmt",
"inspect_table_stmt",
"iso_level",
"joined_table",
"legacy_begin_stmt",
"legacy_begin",
"legacy_end_stmt",
"legacy_transaction_stmt",
"like_table_option_list",
Expand Down Expand Up @@ -223,57 +223,57 @@ FILES = [
"resume_job",
"resume_schedule",
"resume_stmt",
"revoke_stmt",
"revoke",
"rollback_prepared_stmt",
"rollback_transaction",
"routine_body_stmt",
"routine_return_stmt",
"row_source_extension_stmt",
"savepoint_stmt",
"savepoint",
"scrub_database_stmt",
"scrub_stmt",
"scrub_table_stmt",
"select_clause",
"select_stmt",
"select",
"set_cluster_setting",
"set_csetting_stmt",
"set_or_reset_csetting_stmt",
"set_exprs_internal",
"set_local_stmt",
"set_local",
"set_operation",
"set_rest",
"set_rest_more",
"set_session_stmt",
"set_session",
"set_transaction",
"show_backup",
"show_cluster_setting",
"show_columns_stmt",
"show_columns",
"show_commit_timestamp_stmt",
"show_constraints_stmt",
"show_create_stmt",
"show_create_schedules_stmt",
"show_create_external_connections_stmt",
"show_create",
"show_create_schedules",
"show_create_external_connections",
"show_external_connections_stmt",
"show_databases_stmt",
"show_default_privileges_stmt",
"show_databases",
"show_default_privileges",
"show_enums",
"show_full_scans",
"show_functions_stmt",
"show_hints_options",
"show_hints_options_list",
"show_procedures_stmt",
"show_grants_stmt",
"show_indexes_stmt",
"show_grants",
"show_indexes",
"show_jobs",
"show_keys",
"show_locality",
"show_locality_stmt",
"show_inspect_errors_stmt",
"show_partitions_stmt",
"show_range_for_row_stmt",
"show_ranges_stmt",
"show_partitions",
"show_range_for_row",
"show_ranges",
"show_regions",
"show_roles_stmt",
"show_roles",
"show_savepoint_status",
"show_schedules",
"show_schemas",
Expand All @@ -286,14 +286,14 @@ FILES = [
"show_survival_goal_stmt",
"show_tables",
"show_trace",
"show_transactions_stmt",
"show_transactions",
"show_transfer_stmt",
"show_triggers_stmt",
"show_types_stmt",
"show_users_stmt",
"show_users",
"show_default_session_variables_for_role_stmt",
"show_var",
"show_zone_stmt",
"show_zone",
"simple_select_clause",
"sort_clause",
"split_index_at",
Expand All @@ -305,13 +305,13 @@ FILES = [
"table_constraint",
"table_ref",
"transaction_stmt",
"truncate_stmt",
"truncate",
"unique_column_level",
"unique_table_level",
"unsplit_index_at",
"unsplit_table_at",
"update_stmt",
"upsert_stmt",
"update",
"upsert",
"use_stmt",
"validate_constraint",
"values_clause",
Expand Down
9 changes: 9 additions & 0 deletions pkg/cmd/docgen/diagrams.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@ var specs = []stmtSpec{
},
nosplit: true,
},
{
name: "alter_job",
stmt: "alter_job_stmt",
},
{
name: "alter_primary_key",
stmt: "alter_onetable_stmt",
Expand Down Expand Up @@ -1612,6 +1616,11 @@ var specs = []stmtSpec{
{
name: "show_users_stmt",
},
{
name: "show_system_info_stmt",
stmt: "show_csettings_stmt",
replace: map[string]string{"'CLUSTER' 'SETTINGS'": "'SYSTEM' 'INFO'"},
},
{
name: "show_ranges_stmt",
stmt: "show_ranges_stmt",
Expand Down
Loading
Loading