-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
End-to-End Async Query API PPL tests (#1036)
Signed-off-by: Norman Jordan <[email protected]>
- Loading branch information
1 parent
77da4a7
commit 1a6b9f3
Showing
449 changed files
with
18,675 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
e2e-test/src/test/resources/opensearch/queries/ppl/query_001.ppl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source = mys3.default.http_logs | dedup 1 status | fields @timestamp, clientip, status, size | head 10 |
37 changes: 37 additions & 0 deletions
37
e2e-test/src/test/resources/opensearch/queries/ppl/query_001.results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"status": "SUCCESS", | ||
"schema": [ | ||
{ | ||
"name": "@timestamp", | ||
"type": "timestamp_ntz" | ||
}, | ||
{ | ||
"name": "clientip", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "status", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "size", | ||
"type": "long" | ||
} | ||
], | ||
"datarows": [ | ||
[ | ||
"2023-10-01T10:00:00.000", | ||
"40.135.0.0", | ||
200, | ||
24736 | ||
], | ||
[ | ||
"2023-10-01T10:20:00.000", | ||
"247.37.0.0", | ||
304, | ||
0 | ||
] | ||
], | ||
"total": 2, | ||
"size": 2 | ||
} |
1 change: 1 addition & 0 deletions
1
e2e-test/src/test/resources/opensearch/queries/ppl/query_002.ppl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source = mys3.default.http_logs | dedup status, size | head 10 |
71 changes: 71 additions & 0 deletions
71
e2e-test/src/test/resources/opensearch/queries/ppl/query_002.results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"status": "SUCCESS", | ||
"schema": [ | ||
{ | ||
"name": "@timestamp", | ||
"type": "timestamp_ntz" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "month", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "clientip", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "request", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "status", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "size", | ||
"type": "long" | ||
} | ||
], | ||
"datarows": [ | ||
[ | ||
"2023-10-01T10:15:00.000", | ||
2023, | ||
10, | ||
1, | ||
"247.37.0.0", | ||
"GET /french/splash_inet.html HTTP/1.0", | ||
200, | ||
3781 | ||
], | ||
[ | ||
"2023-10-01T10:00:00.000", | ||
2023, | ||
10, | ||
1, | ||
"40.135.0.0", | ||
"GET /images/hm_bg.jpg HTTP/1.0", | ||
200, | ||
24736 | ||
], | ||
[ | ||
"2023-10-01T10:20:00.000", | ||
2023, | ||
10, | ||
1, | ||
"247.37.0.0", | ||
"GET /images/hm_nbg.jpg HTTP/1.0", | ||
304, | ||
0 | ||
] | ||
], | ||
"total": 3, | ||
"size": 3 | ||
} |
1 change: 1 addition & 0 deletions
1
e2e-test/src/test/resources/opensearch/queries/ppl/query_003.ppl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source = mys3.default.http_logs | dedup 1 status keepempty=true | head 10 |
61 changes: 61 additions & 0 deletions
61
e2e-test/src/test/resources/opensearch/queries/ppl/query_003.results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"status": "SUCCESS", | ||
"schema": [ | ||
{ | ||
"name": "@timestamp", | ||
"type": "timestamp_ntz" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "month", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "clientip", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "request", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "status", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "size", | ||
"type": "long" | ||
} | ||
], | ||
"datarows": [ | ||
[ | ||
"2023-10-01T10:00:00.000", | ||
2023, | ||
10, | ||
1, | ||
"40.135.0.0", | ||
"GET /images/hm_bg.jpg HTTP/1.0", | ||
200, | ||
24736 | ||
], | ||
[ | ||
"2023-10-01T10:20:00.000", | ||
2023, | ||
10, | ||
1, | ||
"247.37.0.0", | ||
"GET /images/hm_nbg.jpg HTTP/1.0", | ||
304, | ||
0 | ||
] | ||
], | ||
"total": 2, | ||
"size": 2 | ||
} |
1 change: 1 addition & 0 deletions
1
e2e-test/src/test/resources/opensearch/queries/ppl/query_004.ppl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source = mys3.default.http_logs | dedup status, size keepempty=true | head 10 |
71 changes: 71 additions & 0 deletions
71
e2e-test/src/test/resources/opensearch/queries/ppl/query_004.results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"status": "SUCCESS", | ||
"schema": [ | ||
{ | ||
"name": "@timestamp", | ||
"type": "timestamp_ntz" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "month", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "clientip", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "request", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "status", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "size", | ||
"type": "long" | ||
} | ||
], | ||
"datarows": [ | ||
[ | ||
"2023-10-01T10:15:00.000", | ||
2023, | ||
10, | ||
1, | ||
"247.37.0.0", | ||
"GET /french/splash_inet.html HTTP/1.0", | ||
200, | ||
3781 | ||
], | ||
[ | ||
"2023-10-01T10:00:00.000", | ||
2023, | ||
10, | ||
1, | ||
"40.135.0.0", | ||
"GET /images/hm_bg.jpg HTTP/1.0", | ||
200, | ||
24736 | ||
], | ||
[ | ||
"2023-10-01T10:20:00.000", | ||
2023, | ||
10, | ||
1, | ||
"247.37.0.0", | ||
"GET /images/hm_nbg.jpg HTTP/1.0", | ||
304, | ||
0 | ||
] | ||
], | ||
"total": 3, | ||
"size": 3 | ||
} |
1 change: 1 addition & 0 deletions
1
e2e-test/src/test/resources/opensearch/queries/ppl/query_005.ppl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source = mys3.default.http_logs | dedup 2 status | head 10 |
71 changes: 71 additions & 0 deletions
71
e2e-test/src/test/resources/opensearch/queries/ppl/query_005.results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"status": "SUCCESS", | ||
"schema": [ | ||
{ | ||
"name": "@timestamp", | ||
"type": "timestamp_ntz" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "month", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "clientip", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "request", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "status", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "size", | ||
"type": "long" | ||
} | ||
], | ||
"datarows": [ | ||
[ | ||
"2023-10-01T10:00:00.000", | ||
2023, | ||
10, | ||
1, | ||
"40.135.0.0", | ||
"GET /images/hm_bg.jpg HTTP/1.0", | ||
200, | ||
24736 | ||
], | ||
[ | ||
"2023-10-01T10:05:00.000", | ||
2023, | ||
10, | ||
1, | ||
"232.0.0.0", | ||
"GET /images/hm_bg.jpg HTTP/1.0", | ||
200, | ||
24736 | ||
], | ||
[ | ||
"2023-10-01T10:20:00.000", | ||
2023, | ||
10, | ||
1, | ||
"247.37.0.0", | ||
"GET /images/hm_nbg.jpg HTTP/1.0", | ||
304, | ||
0 | ||
] | ||
], | ||
"total": 3, | ||
"size": 3 | ||
} |
1 change: 1 addition & 0 deletions
1
e2e-test/src/test/resources/opensearch/queries/ppl/query_006.ppl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
source = mys3.default.http_logs | dedup 2 status, size | head 10 |
Oops, something went wrong.