|
5 | 5 | public class CockroachDBErrors { |
6 | 6 |
|
7 | 7 | public static void addExpressionErrors(Set<String> errors) { |
| 8 | + errors.add(" non-streaming operator encountered when vectorize=auto"); |
8 | 9 |
|
9 | 10 | if (true) { |
10 | 11 | // https://github.com/cockroachdb/cockroach/issues/46403 |
11 | 12 | errors.add("duplicate column name"); |
12 | 13 | } |
13 | 14 |
|
| 15 | + if (true) { |
| 16 | + // https://github.com/pingcap/tidb/issues/16017 |
| 17 | + errors.add("Can't find a proper physical plan for this query"); |
| 18 | + } |
| 19 | + |
14 | 20 | if (true) { |
15 | 21 | // https://github.com/cockroachdb/cockroach/issues/46915 |
16 | 22 | errors.add("ERROR: at or near \"unknown\": syntax error"); |
17 | 23 | } |
18 | 24 |
|
| 25 | + if (true) { |
| 26 | + // https://github.com/cockroachdb/cockroach/issues/45703 |
| 27 | + errors.add("github.com/cockroachdb/cockroach/pkg/sql/execinfra/expr.go:78: processExpression()"); |
| 28 | + } |
| 29 | + |
19 | 30 | errors.add("cannot cast negative integer to bit varying with unbounded width"); |
20 | 31 |
|
21 | 32 | errors.add("negative value for LIMIT"); |
@@ -224,12 +235,16 @@ private static void addArrayErrors(Set<String> errors) { |
224 | 235 | errors.add("unknown signature: max(bit[])"); |
225 | 236 | errors.add("unknown signature: min(float[])"); |
226 | 237 | errors.add("unknown signature: max(float[])"); |
| 238 | + |
227 | 239 | errors.add("array must be enclosed in { and }"); // when casting a string to an array |
| 240 | + errors.add("extra text after closing right brace"); |
228 | 241 | errors.add("unimplemented: nested arrays not supported"); // e.g., casting a string {{1}} to an array |
| 242 | + errors.add("malformed array"); |
229 | 243 |
|
230 | 244 | errors.add("https://github.com/cockroachdb/cockroach/issues/35707"); // arrays don't support ORDER BY |
231 | 245 |
|
232 | 246 | errors.add("as bytes[], found type: varbit[]"); |
| 247 | + errors.add("to be of type decimal[], found type float[]"); |
233 | 248 |
|
234 | 249 | errors.add("to be of type unknown[]"); // IF with null array |
235 | 250 | } |
@@ -259,6 +274,7 @@ private static void addGroupByErrors(Set<String> errors) { |
259 | 274 | errors.add("incompatible value type"); |
260 | 275 | errors.add(" ERROR: incompatible IF expressions"); |
261 | 276 | errors.add(" to be of type string"); |
| 277 | + errors.add("found type string"); |
262 | 278 |
|
263 | 279 | errors.add("unknown signature: abs(string)"); |
264 | 280 | errors.add("unknown signature: acos(string)"); |
|
0 commit comments