-
Notifications
You must be signed in to change notification settings - Fork 50
/
basic.slt
63 lines (46 loc) · 940 Bytes
/
basic.slt
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
52
53
54
55
56
57
58
59
60
61
62
63
statement ok
create table t(v1 int not null, v2 int not null, v3 int not null)
statement ok
insert into t values(1,4,2), (2,3,3), (3,4,4), (4,3,5)
query I
select * from example_basic
----
Alice
Bob
Eve
statement ok
drop table t
# The error message is: Hey you got FakeDBError!
statement error
give me an error
statement error FakeDB
give me an error
statement error (?i)fakedb
give me an error
statement error Hey you
give me an error
# statement is expected to fail with error: "Hey we", but got error: "Hey you got FakeDBError!"
# statement error Hey we
# give me an error
# query error is actually equivalent to statement error
query error Hey you
give me an error
hash-threshold 3
query I
select * from example_basic
----
Alice
Bob
Eve
hash-threshold 1
query I
select * from example_basic
----
3 values hashing to b5b44edac84d34d6af3be2a88bfae352
hash-threshold 0
query I
select * from example_basic
----
Alice
Bob
Eve