You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# As the second operand is integer, the first string operand is cast to integer as well. "1.5" is not a valid string, so the second row becomes [null, 0.15]
"bin with numeric field using WIDTH_BUCKET - issue 4740":
34
-
- skip:
35
-
features:
36
-
- headers
37
-
- allowed_warnings
38
-
- do:
39
-
allowed_warnings:
40
-
- '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'
41
-
headers:
42
-
Content-Type: 'application/json'
43
-
ppl:
44
-
body:
45
-
query: source=test_binning_4740 | bin age bins=3 | stats count() by age | sort age
# TODO: Enable after fixing https://github.com/opensearch-project/sql/issues/4973
33
+
# problem: string minus string in the generated plan
34
+
#---
35
+
#"bin with numeric field using WIDTH_BUCKET - issue 4740":
36
+
# - skip:
37
+
# features:
38
+
# - headers
39
+
# - allowed_warnings
40
+
# - do:
41
+
# allowed_warnings:
42
+
# - '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'
43
+
# headers:
44
+
# Content-Type: 'application/json'
45
+
# ppl:
46
+
# body:
47
+
# query: source=test_binning_4740 | bin age bins=3 | stats count() by age | sort age
"bin with minspan using MINSPAN_BUCKET - issue 4740":
70
-
- skip:
71
-
features:
72
-
- headers
73
-
- allowed_warnings
74
-
- do:
75
-
allowed_warnings:
76
-
- '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'
77
-
headers:
78
-
Content-Type: 'application/json'
79
-
ppl:
80
-
body:
81
-
query: source=test_binning_4740 | bin balance minspan=1000 | stats count() by balance | sort balance
# TODO: Enable after fixing https://github.com/opensearch-project/sql/issues/4973
71
+
# problem: string minus string in the generated plan
72
+
#---
73
+
#"bin with minspan using MINSPAN_BUCKET - issue 4740":
74
+
# - skip:
75
+
# features:
76
+
# - headers
77
+
# - allowed_warnings
78
+
# - do:
79
+
# allowed_warnings:
80
+
# - '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'
81
+
# headers:
82
+
# Content-Type: 'application/json'
83
+
# ppl:
84
+
# body:
85
+
# query: source=test_binning_4740 | bin balance minspan=1000 | stats count() by balance | sort balance
"bin with start and end using RANGE_BUCKET - issue 4740":
88
-
- skip:
89
-
features:
90
-
- headers
91
-
- allowed_warnings
92
-
- do:
93
-
allowed_warnings:
94
-
- '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'
95
-
headers:
96
-
Content-Type: 'application/json'
97
-
ppl:
98
-
body:
99
-
query: source=test_binning_4740 | bin age start=20 end=50 | stats count() by age | sort age
"bin with default binning (no parameters) on string field - issue 4740":
106
-
- skip:
107
-
features:
108
-
- headers
109
-
- allowed_warnings
110
-
- do:
111
-
allowed_warnings:
112
-
- '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'
113
-
headers:
114
-
Content-Type: 'application/json'
115
-
ppl:
116
-
body:
117
-
query: source=test_binning_4740 | bin balance | stats count() by balance | sort balance
90
+
# TODO: Enable after fixing https://github.com/opensearch-project/sql/issues/4973
91
+
# problem: cast string to number in the generated code
92
+
#---
93
+
#"bin with start and end using RANGE_BUCKET - issue 4740":
94
+
# - skip:
95
+
# features:
96
+
# - headers
97
+
# - allowed_warnings
98
+
# - do:
99
+
# allowed_warnings:
100
+
# - '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'
101
+
# headers:
102
+
# Content-Type: 'application/json'
103
+
# ppl:
104
+
# body:
105
+
# query: source=test_binning_4740 | bin age start=20 end=50 | stats count() by age | sort age
# TODO: Enable after fixing https://github.com/opensearch-project/sql/issues/4973
111
+
# problem: string minus string in the generated plan
112
+
#---
113
+
#"bin with default binning (no parameters) on string field - issue 4740":
114
+
# - skip:
115
+
# features:
116
+
# - headers
117
+
# - allowed_warnings
118
+
# - do:
119
+
# allowed_warnings:
120
+
# - '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'
121
+
# headers:
122
+
# Content-Type: 'application/json'
123
+
# ppl:
124
+
# body:
125
+
# query: source=test_binning_4740 | bin balance | stats count() by balance | sort balance
Copy file name to clipboardExpand all lines: integ-test/src/yamlRestTest/resources/rest-api-spec/test/issues/4866.yml
+35-35Lines changed: 35 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -27,39 +27,39 @@ teardown:
27
27
transient:
28
28
plugins.calcite.enabled : false
29
29
30
-
31
-
---
32
-
"Patterns with specified max_sample_count should return correct result":
33
-
- skip:
34
-
features:
35
-
- headers
36
-
- allowed_warnings
37
-
- do:
38
-
allowed_warnings:
39
-
- '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'
"PacketResponder failed for blk_6996194389878584395",
53
-
"PacketResponder failed for blk_-1547954353065580372"
54
-
]
55
-
],
56
-
[
57
-
"BLOCK* NameSystem.addStoredBlock: blockMap updated: <*IP*> is added to blk_<*> size <*>",
58
-
2,
59
-
[
60
-
"BLOCK* NameSystem.addStoredBlock: blockMap updated: 10.251.31.85:50010 is added to blk_-7017553867379051457 size 67108864",
61
-
"BLOCK* NameSystem.addStoredBlock: blockMap updated: 10.251.107.19:50010 is added to blk_-3249711809227781266 size 67108864"
62
-
]
63
-
]
64
-
]}
30
+
# TODO: enable after fixing https://github.com/opensearch-project/sql/issues/4968
31
+
#---
32
+
#"Patterns with specified max_sample_count should return correct result":
33
+
# - skip:
34
+
# features:
35
+
# - headers
36
+
# - allowed_warnings
37
+
# - do:
38
+
# allowed_warnings:
39
+
# - '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'
0 commit comments