Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions compiler/parser/ztests/bytes.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? 0x or 0x0e00924c694c98b6c11ef56f025f3255904f4e45'

vector: true

input: &input |
{a:0x}
{a:0x0e00924c694c98b6c11ef56f025f3255904f4e45}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/count-filter-star.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
spq: 'count(*) filter (true)'

vector: true

output: |
1
2 changes: 0 additions & 2 deletions compiler/parser/ztests/esc-quote.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? "foo\"bar"'

vector: true

input: |
{s:"foo\"bar"}
{s:"foobar"}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/glob-numeric.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? *1'

vector: true

input: |
"1"
"a1"
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/in-requires-space.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# longer doing this
spq: '? x==1 inaction'

vector: true

input: |
{x:1,text:"inaction"}

Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/ipv6.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? fe80::58d2:2d09:e8cb:a8ad OR ::58d2:2d09:e8cb:a8ad OR 2d09:e8cb:a8ad:: OR ::'

vector: true

input: &input |
{a:fe80::58d2:2d09:e8cb:a8ad}
{a:::58d2:2d09:e8cb:a8ad}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/leading-quotation-mark.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? \"foo'

vector: true

input: |
{s:"foo"}
{s:"\"foo"}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/match-double.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? grep("a", this) grep("b", this)'

vector: true

input: |
{s1:"a",s2:"b"}
{s1:"b",s2:"a"}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/match-is.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
? a is(s2,<string>)

vector: true

input: |
{s1:"a",s2:"b"}
{s1:"b",s2:"b"}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/match-parentheses.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? (10.0.0.0/8 or 172.16.0.0/12 or 192.168.0.0/16)'

vector: true

input: |
{a:1.1.1.1,b:172.16.0.1}
{a:192.168.0.1,b:2.2.2.2}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/match.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: grep("a", this)

vector: true

input: |
{s1:"a",s2:"b"}
{s1:"b",s2:"a"}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/rstring.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
values r'', r"", r'foo', r'\f\o\o\n', r"bar", r"\b\a\r\n"

vector: true

output: |
""
""
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/search.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '?bar'

vector: true

input: |
{s1:"foo",s2:"bar"}
{s1:"foo",s2:null}
Expand Down
2 changes: 0 additions & 2 deletions compiler/parser/ztests/unicode-keyword.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: '? bjørndal'

vector: true

input: '"bjørndal"'

output: |
Expand Down
2 changes: 0 additions & 2 deletions compiler/semantic/ztests/from-subquery.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
spq: select T.x from (select 1 as x, 2 as y) T

vector: true

output: |
{x:1}
2 changes: 0 additions & 2 deletions compiler/ztests/aggregate-func-err.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
spq: |
put count := count()

vector: true

error: |
call to aggregate function in non-aggregate context at line 1, column 14:
put count := count()
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/dotted-path-op.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ spq: |
let test = ( values {that:1} )
values test.that

vector: true

output: |
1
2 changes: 0 additions & 2 deletions compiler/ztests/is-field.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: is(a,<string>)

vector: true

input: |
{a:1::int32,b:"foo"}
{x:2::int8}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/is.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: is(this, <{a:int32,b:string}>)

vector: true

input: |
{a:1::int32,b:"foo"}
{x:2::int8}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/pragma-index-base-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ spq: |
)
| sort s

vector: true

input: |
[1,2]
set[1,2]
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/pragma-index-base-slice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ spq: |
)
| sort s

vector: true

input: |
{a:[1,2,3],from:1,to:3}
{a:set[1,2,3],from:-2,to:-1}
Expand Down
1 change: 0 additions & 1 deletion compiler/ztests/pragma-index-base-substring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ spq: |
pragma index_base = 1
values substring("foobar" FROM 4)

vector: true

output: |
"bar"
2 changes: 0 additions & 2 deletions compiler/ztests/regexp-search.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values grep('.*foo.*', this)

vector: true

input: |
"foo"
1
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/scoped-this.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
unnest this into (collect(this::string))

vector: true

input: |
[1,2,3]
[4,5]
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/search-regexp-not-glob.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
? /.*/

vector: true

input: &input |
"a"

Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/search-type-value.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
? <{x:int64}>

vector: true

input: <int64> <string> <{x:int64}>

output: |
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/agg-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ spq: |
group by key
order by key

vector: true

input: |
{key:"a",n:1,b:true}
{key:"a",n:2,b:false}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/agg-distinct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ spq: |
group by key
order by key

vector: true

input: |
{key:"a",n:1,b:true}
{key:"a",n:2,b:false}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/case-match-noelse.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
select case x when 1 then 'foo' end as x from (values (1),(2)) T(x)

vector: true

output: |
{x:"foo"}
{x:null}
2 changes: 0 additions & 2 deletions compiler/ztests/sql/case-noelse.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
spq: |
select case when x==1 then 'foo' end as x from (values (1),(2)) T(x)

vector: true

output: |
{x:"foo"}
{x:null}
2 changes: 0 additions & 2 deletions compiler/ztests/sql/cross-join-comma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ spq: |
(values {b:4},{b:5},{b:6}) as Tb
order by Ta.a, Tb.b

vector: true

output: |
{a:1,b:4}
{a:1,b:5}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/cross-join.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ spq: |
cross join (values {b:4},{b:5},{b:6}) as Tb
order by Ta.a, Tb.b

vector: true

output: |
{a:1,b:4}
{a:1,b:5}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/having-this.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
spq: select count() from (values 1,2) having this={count:2}

vector: true

output: |
{count:2}
2 changes: 0 additions & 2 deletions compiler/ztests/sql/not-in.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values this not in (41,42)

vector: true

input: |
40
41
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/substring.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values SUBSTRING(this FROM 3 FOR 2), SUBSTRING(this FROM 3), SUBSTRING(this FOR 3)

vector: true

input: |
"foobar"
"lobster"::(null|string)
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/timestamp-and-date.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values TIMESTAMP '2012-10-02 12:01:01', DATE '2012-10-02 12:01:01'

vector: true

input: |
null

Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/union-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ spq: |
SELECT * from (values {x:5,z:10})
| sort x

vector: true

output: |
{x:1,y:2}
{x:2,y:1}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/sql/union-distinct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ spq: |
select * from (values (2),(3),(4))
| sort c0

vector: true

output: |
{c0:1}
{c0:2}
Expand Down
2 changes: 0 additions & 2 deletions compiler/ztests/this.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: 'values {yodawg:this,b:this==this}'

vector: true

input: |
{a:1}

Expand Down
2 changes: 0 additions & 2 deletions runtime/ztests/expr/arith-divide-by-zero.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values a/b, a%b

vector: true

input: |
{a:null,b:0::uint64}
{a:2::uint64,b:null}
Expand Down
2 changes: 0 additions & 2 deletions runtime/ztests/expr/arith-errors.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: s/0

vector: true

input: |
{}
{s:error("other")}
Expand Down
2 changes: 0 additions & 2 deletions runtime/ztests/expr/arith-nulls.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values a+b, a-b, a*b, a/b, a%b

vector: true

input: |
{a:1,b:null}
{a:null,b:1}
Expand Down
2 changes: 0 additions & 2 deletions runtime/ztests/expr/array-bounds-2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: cut m1:=missing(a[-1]),m2:=missing(a[4])

vector: true

input: |
{x:[1,2,3],i:1::uint16}

Expand Down
2 changes: 0 additions & 2 deletions runtime/ztests/expr/array-bounds.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: put b:=missing(a[2])

vector: true

input: |
{a:[1,2,3]}
{a:[1,2]}
Expand Down
4 changes: 0 additions & 4 deletions runtime/ztests/expr/array-expr.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values [a,b,c]

vector: true

input: |
{a:error("missing"),b:error("quiet"),c:null}
{a:[1,2],b:null,c:[3,4]}
Expand All @@ -28,7 +26,5 @@ output: |
# Test empty array expression.
spq: values []

vector: true

output: |
[]
2 changes: 0 additions & 2 deletions runtime/ztests/expr/array-spread-union.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values [a[0],...b]

vector: true

input: |
{a:[1],b:[2.,"foo"]}
{a:[2],b:[3.,"bar"]}
Expand Down
2 changes: 0 additions & 2 deletions runtime/ztests/expr/array-spread.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
spq: values [...a,...b]

vector: true

input: |
{a:set[1,2],b:[0,1,null],c:"hi"}
{a:set[1,2],b:"hi"}
Expand Down
Loading
Loading