Skip to content

Commit 2711d23

Browse files
committed
fix integ tests
Signed-off-by: Simeon Widdis <[email protected]>
1 parent 6fa424c commit 2711d23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+58
-58
lines changed

integ-test/src/test/resources/expectedOutput/ppl/big5/composite_date_histogram_daily.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
:true,\"include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\"\
1717
:{\"from\":null,\"to\":1673092800000,\"include_lower\":true,\"include_upper\"\
1818
:false,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"\
19-
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":1000,\"\
19+
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":10000,\"\
2020
sources\":[{\"span(`@timestamp`,1d)\":{\"date_histogram\":{\"field\"\
2121
:\"@timestamp\",\"missing_bucket\":false,\"order\":\"asc\",\"fixed_interval\"\
2222
:\"1d\"}}}]},\"aggregations\":{\"count()\":{\"value_count\":{\"field\"\

integ-test/src/test/resources/expectedOutput/ppl/big5/composite_terms.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
:true,\"include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\"\
1717
:{\"from\":null,\"to\":1672653600000,\"include_lower\":true,\"include_upper\"\
1818
:false,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"\
19-
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":1000,\"\
19+
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":10000,\"\
2020
sources\":[{\"process.name\":{\"terms\":{\"field\":\"process.name\"\
2121
,\"missing_bucket\":true,\"missing_order\":\"last\",\"order\":\"desc\"\
2222
}}},{\"cloud.region\":{\"terms\":{\"field\":\"cloud.region\",\"missing_bucket\"\

integ-test/src/test/resources/expectedOutput/ppl/big5/composite_terms_keyword.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
:true,\"include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\"\
1717
:{\"from\":null,\"to\":1672653600000,\"include_lower\":true,\"include_upper\"\
1818
:false,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"\
19-
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":1000,\"\
19+
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":10000,\"\
2020
sources\":[{\"process.name\":{\"terms\":{\"field\":\"process.name\"\
2121
,\"missing_bucket\":true,\"missing_order\":\"last\",\"order\":\"desc\"\
2222
}}},{\"cloud.region\":{\"terms\":{\"field\":\"cloud.region\",\"missing_bucket\"\

integ-test/src/test/resources/expectedOutput/ppl/big5/date_histogram_hourly_agg.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ root:
77
description:
88
request: "OpenSearchQueryRequest(indexName=big5, sourceBuilder={\"from\":0,\"\
99
size\":0,\"timeout\":\"1m\",\"aggregations\":{\"composite_buckets\":{\"\
10-
composite\":{\"size\":1000,\"sources\":[{\"span(`@timestamp`,1h)\":{\"date_histogram\"\
11-
:{\"field\":\"@timestamp\",\"missing_bucket\":false,\"order\":\"asc\",\"\
12-
fixed_interval\":\"1h\"}}}]},\"aggregations\":{\"count()\":{\"value_count\"\
13-
:{\"field\":\"_index\"}}}}}}, pitId=*, cursorKeepAlive=null, searchAfter=null,\
14-
\ searchResponse=null)"
10+
composite\":{\"size\":10000,\"sources\":[{\"span(`@timestamp`,1h)\":{\"\
11+
date_histogram\":{\"field\":\"@timestamp\",\"missing_bucket\":false,\"order\"\
12+
:\"asc\",\"fixed_interval\":\"1h\"}}}]},\"aggregations\":{\"count()\":{\"\
13+
value_count\":{\"field\":\"_index\"}}}}}}, pitId=*, cursorKeepAlive=null,\
14+
\ searchAfter=null, searchResponse=null)"
1515
children: []

integ-test/src/test/resources/expectedOutput/ppl/big5/date_histogram_minute_agg.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ root:
1111
include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\":{\"from\"\
1212
:null,\"to\":1672704000000,\"include_lower\":true,\"include_upper\":false,\"\
1313
boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"aggregations\"\
14-
:{\"composite_buckets\":{\"composite\":{\"size\":1000,\"sources\":[{\"span(`@timestamp`,1m)\"\
15-
:{\"date_histogram\":{\"field\":\"@timestamp\",\"missing_bucket\":false,\"\
16-
order\":\"asc\",\"fixed_interval\":\"1m\"}}}]},\"aggregations\":{\"count()\"\
14+
:{\"composite_buckets\":{\"composite\":{\"size\":10000,\"sources\":[{\"\
15+
span(`@timestamp`,1m)\":{\"date_histogram\":{\"field\":\"@timestamp\",\"missing_bucket\"\
16+
:false,\"order\":\"asc\",\"fixed_interval\":\"1m\"}}}]},\"aggregations\":{\"count()\"\
1717
:{\"value_count\":{\"field\":\"_index\"}}}}}}, pitId=*, cursorKeepAlive=null,\
1818
\ searchAfter=null, searchResponse=null)"
1919
children: []

integ-test/src/test/resources/expectedOutput/ppl/big5/keyword_terms.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
description:
1717
request: "OpenSearchQueryRequest(indexName=big5, sourceBuilder={\"from\"\
1818
:0,\"size\":0,\"timeout\":\"1m\",\"aggregations\":{\"composite_buckets\"\
19-
:{\"composite\":{\"size\":1000,\"sources\":[{\"aws.cloudwatch.log_stream\"\
19+
:{\"composite\":{\"size\":10000,\"sources\":[{\"aws.cloudwatch.log_stream\"\
2020
:{\"terms\":{\"field\":\"aws.cloudwatch.log_stream\",\"missing_bucket\"\
2121
:true,\"missing_order\":\"first\",\"order\":\"asc\"}}}]},\"aggregations\"\
2222
:{\"station\":{\"value_count\":{\"field\":\"_index\"}}}}}}, pitId=*,\

integ-test/src/test/resources/expectedOutput/ppl/big5/keyword_terms_low_cardinality.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
description:
1717
request: "OpenSearchQueryRequest(indexName=big5, sourceBuilder={\"from\"\
1818
:0,\"size\":0,\"timeout\":\"1m\",\"aggregations\":{\"composite_buckets\"\
19-
:{\"composite\":{\"size\":1000,\"sources\":[{\"aws.cloudwatch.log_stream\"\
19+
:{\"composite\":{\"size\":10000,\"sources\":[{\"aws.cloudwatch.log_stream\"\
2020
:{\"terms\":{\"field\":\"aws.cloudwatch.log_stream\",\"missing_bucket\"\
2121
:true,\"missing_order\":\"first\",\"order\":\"asc\"}}}]},\"aggregations\"\
2222
:{\"country\":{\"value_count\":{\"field\":\"_index\"}}}}}}, pitId=*,\

integ-test/src/test/resources/expectedOutput/ppl/big5/multi_terms_keyword.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ root:
2020
:true,\"include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\"\
2121
:{\"from\":null,\"to\":1672894800000,\"include_lower\":true,\"include_upper\"\
2222
:false,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"\
23-
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":1000,\"\
23+
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":10000,\"\
2424
sources\":[{\"process.name\":{\"terms\":{\"field\":\"process.name\"\
2525
,\"missing_bucket\":true,\"missing_order\":\"first\",\"order\":\"asc\"\
2626
}}},{\"cloud.region\":{\"terms\":{\"field\":\"cloud.region\",\"missing_bucket\"\

integ-test/src/test/resources/expectedOutput/ppl/big5/terms_significant_1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
:true,\"include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\"\
1717
:{\"from\":null,\"to\":1672704000000,\"include_lower\":true,\"include_upper\"\
1818
:false,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"\
19-
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":1000,\"\
19+
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":10000,\"\
2020
sources\":[{\"aws.cloudwatch.log_stream\":{\"terms\":{\"field\":\"aws.cloudwatch.log_stream\"\
2121
,\"missing_bucket\":true,\"missing_order\":\"first\",\"order\":\"asc\"\
2222
}}},{\"process.name\":{\"terms\":{\"field\":\"process.name\",\"missing_bucket\"\

integ-test/src/test/resources/expectedOutput/ppl/big5/terms_significant_2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ root:
1616
:true,\"include_upper\":true,\"boost\":1.0}}},{\"range\":{\"@timestamp\"\
1717
:{\"from\":null,\"to\":1672704000000,\"include_lower\":true,\"include_upper\"\
1818
:false,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"\
19-
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":1000,\"\
19+
aggregations\":{\"composite_buckets\":{\"composite\":{\"size\":10000,\"\
2020
sources\":[{\"process.name\":{\"terms\":{\"field\":\"process.name\"\
2121
,\"missing_bucket\":true,\"missing_order\":\"first\",\"order\":\"asc\"\
2222
}}},{\"aws.cloudwatch.log_stream\":{\"terms\":{\"field\":\"aws.cloudwatch.log_stream\"\

0 commit comments

Comments
 (0)