-
Notifications
You must be signed in to change notification settings - Fork 398
Expand file tree
/
Copy pathQuestDBErrors.java
More file actions
31 lines (25 loc) · 1008 Bytes
/
QuestDBErrors.java
File metadata and controls
31 lines (25 loc) · 1008 Bytes
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
package sqlancer.questdb;
import sqlancer.common.query.ExpectedErrors;
public final class QuestDBErrors {
private QuestDBErrors() {
}
public static void addExpressionErrors(ExpectedErrors errors) {
// TODO (anxing)
errors.add("unexpected argument for function: ");
errors.add("unexpected token:"); // SELECT FROM multiple tables without WHERE/ JOIN clause
errors.add("boolean expression expected");
errors.add("Column name expected");
errors.add("too few arguments for 'in'");
errors.add("cannot compare TIMESTAMP with type"); // WHERE column IN with nonTIMESTAMP arg
errors.add("constant expected");
}
public static void addGroupByErrors(ExpectedErrors errors) {
// TODO (anxing)
}
public static void addInsertErrors(ExpectedErrors errors) {
// TODO (anxing)
errors.add("Invalid column");
errors.add("inconvertible types:");
errors.add("inconvertible value:");
}
}