Commit 5a4e4e8
149444: schemachanger: implement ALTER COLUMN [SET | DROP] ON UPDATE in declarative r=rafiss a=rafiss
This adds support for setting and dropping ON UPDATE expressions to the
declarative schema changer. No new elements were needed, so this was
pretty straightforward.
fixes #139604
Release note: None
149838: ui: fix bug where "Drop Unused Index" recommendations are not populat… r=kyle-a-wong a=kyle-a-wong
…ed on Schema Insights
When hard refreshing on the Schema Index tab of the insights page, "Drop Unused Index" recommendations don't populate. This is happening due to a race condition in db console, where db console needs cluster settings from the redux store to query for unused indexes. On a hard refresh, the cluster settings aren't in the redux store when querying for these indexes, so it uses the default cluster setting. To fix, the query no longer depends on cluster settings from the reduxstore. Instead, thequery joins on crdb_internal.cluster_settings.
Epic: CC-30965
Fixes: CC-31265
Release note (ui change): Fix bug where "Drop Unused Index" recommendations are not populated on the schema index page.
150142: restore: delete comments after failed or cancelled cluster restore r=dt a=msbutler
This patch ensures that after a failed or canceled cluster restore, comments from dropped descriptors are removed.
Informs #149453
Release note: none
150154: gceworker.sh: update default worker image r=mw5h a=mw5h
Ubuntu 20.04 LTS is past EOL and no longer available. DevInf has made
20.04 available in the cockroach-workers project as 'crl-ubuntu-2004'.
We also no longer suppoert image families, so this patch changes the
image project to 'cockroach-workers' and points at the new image.
Epic: none
Release note: None
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
Co-authored-by: Kyle Wong <37189875+kyle-a-wong@users.noreply.github.com>
Co-authored-by: Michael Butler <butler@cockroachlabs.com>
Co-authored-by: Matt White <matt.white@cockroachlabs.com>
File tree
34 files changed
+1253
-20
lines changed- pkg
- backup
- ccl/schemachangerccl/sctestbackupccl
- sql
- catalog/rewrite
- logictest/testdata/logic_test
- schemachanger
- scbuild
- internal/scbuildstmt
- testdata
- scdecomp/testdata
- scplan/testdata
- screl
- testdata/end_to_end
- alter_table_alter_column_drop_on_update
- alter_table_alter_column_set_on_update
- alter_table_alter_column_type_general_expr
- drop_multiple_columns_separate_statements
- testdata/telemetry
- ui/workspaces/cluster-ui/src/api
- scripts
34 files changed
+1253
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11184 | 11184 | | |
11185 | 11185 | | |
11186 | 11186 | | |
| 11187 | + | |
| 11188 | + | |
| 11189 | + | |
| 11190 | + | |
| 11191 | + | |
| 11192 | + | |
| 11193 | + | |
| 11194 | + | |
| 11195 | + | |
| 11196 | + | |
| 11197 | + | |
| 11198 | + | |
| 11199 | + | |
| 11200 | + | |
| 11201 | + | |
| 11202 | + | |
| 11203 | + | |
| 11204 | + | |
| 11205 | + | |
| 11206 | + | |
| 11207 | + | |
| 11208 | + | |
| 11209 | + | |
| 11210 | + | |
| 11211 | + | |
| 11212 | + | |
| 11213 | + | |
| 11214 | + | |
| 11215 | + | |
| 11216 | + | |
| 11217 | + | |
| 11218 | + | |
| 11219 | + | |
| 11220 | + | |
| 11221 | + | |
| 11222 | + | |
| 11223 | + | |
| 11224 | + | |
| 11225 | + | |
| 11226 | + | |
| 11227 | + | |
| 11228 | + | |
| 11229 | + | |
| 11230 | + | |
| 11231 | + | |
| 11232 | + | |
| 11233 | + | |
| 11234 | + | |
| 11235 | + | |
| 11236 | + | |
| 11237 | + | |
| 11238 | + | |
| 11239 | + | |
| 11240 | + | |
| 11241 | + | |
| 11242 | + | |
| 11243 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
2843 | 2844 | | |
2844 | 2845 | | |
2845 | 2846 | | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
2846 | 2851 | | |
2847 | 2852 | | |
2848 | 2853 | | |
| |||
2898 | 2903 | | |
2899 | 2904 | | |
2900 | 2905 | | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
2901 | 2914 | | |
2902 | 2915 | | |
2903 | 2916 | | |
| |||
2993 | 3006 | | |
2994 | 3007 | | |
2995 | 3008 | | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
2996 | 3017 | | |
2997 | 3018 | | |
2998 | 3019 | | |
| |||
3076 | 3097 | | |
3077 | 3098 | | |
3078 | 3099 | | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
3079 | 3108 | | |
3080 | 3109 | | |
3081 | 3110 | | |
| |||
Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | | - | |
1004 | | - | |
| 1003 | + | |
| 1004 | + | |
1005 | 1005 | | |
1006 | | - | |
1007 | 1006 | | |
1008 | 1007 | | |
1009 | 1008 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
1013 | 1018 | | |
1014 | 1019 | | |
1015 | 1020 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments