Commit fa1c75b
149898: sql: INVERTED JOIN acceleration for `json ? string`, `json ?& array`, `json ?| array` and `array && array` r=ZhouXing19 a=ZhouXing19
fixes #81642
fixes #81643
ref: #81253
This commit adds support for accelerating the json ? string, json ?& array, json ?| array and array && array operators for INVERTED JOIN when the json/array argument is a column that has an inverted index over it.
Release note (sql change): the json ? string, json ?& array, json ?| array and array && array operators are now index accelerated for INVERTED JOIN statement if there is an inverted index over the json column referred to on the left hand side of the expression.
150253: tabledesc: allow TTL storage params to be set to 0 r=rafiss a=rafiss
Epic: None
Release note (bug fix): Fixed a bug that prevented the row-level TTL table storage parameters (e.g. ttl_select_batch_size, ttl_delete_batch_size, ttl_delete_rate_limit, and ttl_select_rate_limit) from being set to 0, which is their default value.
Co-authored-by: ZhouXing19 <zhouxing@uchicago.edu>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
File tree
7 files changed
+588
-50
lines changed- pkg/sql
- catalog/tabledesc
- logictest/testdata/logic_test
- opt
- exec/execbuilder/testdata
- invertedidx
7 files changed
+588
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2852 | 2852 | | |
2853 | 2853 | | |
2854 | 2854 | | |
2855 | | - | |
| 2855 | + | |
2856 | 2856 | | |
2857 | 2857 | | |
2858 | 2858 | | |
| |||
0 commit comments