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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ setup:
body:
query: 'source=test | head 1 from 1 '
- match: {"total": 1}
- match: {"schema": [{"name": "id", "type": "bigint"}]}
- match: {"datarows": [[2]]}

- do:
allowed_warnings:
Expand All @@ -44,5 +42,3 @@ setup:
body:
query: 'source=test | head 2 | head 1 from 1 '
- match: { "total": 1 }
- match: { "schema": [ { "name": "id", "type": "bigint" } ] }
- match: { "datarows": [ [ 2 ] ] }
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ teardown:
- skip:
features:
- headers
- allowed_warnings
- do:
allowed_warnings:
- 'Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body of your documents, and map this field as a keyword field that has [doc_values] enabled'
headers:
Content-Type: 'application/json'
ppl:
Expand All @@ -65,7 +68,10 @@ teardown:
- skip:
features:
- headers
- allowed_warnings
- do:
allowed_warnings:
- 'Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body of your documents, and map this field as a keyword field that has [doc_values] enabled'
headers:
Content-Type: 'application/json'
ppl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ teardown:
Content-Type: 'application/json'
ppl:
body:
query: 'source=test | where a = 1 or a = 2 or isNull(a)'
query: 'source=test | where a = 1 or a = 2 or isNull(a) | sort a'
- match: {"total": 3}
- match: {"schema": [{"name": "a", "type": "bigint"}]}
- match: {"datarows": [[1], [2], [null]]}
- match: {"datarows": [[null], [1], [2]]}

- do:
allowed_warnings:
Expand All @@ -52,7 +52,7 @@ teardown:
Content-Type: 'application/json'
ppl:
body:
query: 'source=test | where (a = 1 or a = 2) and isNotNull(a)'
query: 'source=test | where (a = 1 or a = 2) and isNotNull(a) | sort a'
- match: { "total": 2 }
- match: { "schema": [ { "name": "a", "type": "bigint" } ] }
- match: {"datarows": [[1], [2]]}
Loading