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
Copy file name to clipboardExpand all lines: x-pack/plugin/analytics/src/test/java/org/elasticsearch/xpack/analytics/mapper/HistogramPercentileAggregationTests.java
+25-13Lines changed: 25 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -138,8 +138,12 @@ public void testTDigestHistogram() throws Exception {
138
138
.startObject()
139
139
.startObject("_doc")
140
140
.startObject("properties")
141
-
.startObject("data")
142
-
.field("type", "double")
141
+
.startObject("inner")
142
+
.startObject("properties")
143
+
.startObject("data")
144
+
.field("type", "double")
145
+
.endObject()
146
+
.endObject()
143
147
.endObject()
144
148
.endObject()
145
149
.endObject()
@@ -153,8 +157,12 @@ public void testTDigestHistogram() throws Exception {
153
157
.startObject()
154
158
.startObject("_doc")
155
159
.startObject("properties")
156
-
.startObject("data")
157
-
.field("type", "histogram")
160
+
.startObject("inner")
161
+
.startObject("properties")
162
+
.startObject("data")
163
+
.field("type", "histogram")
164
+
.endObject()
165
+
.endObject()
158
166
.endObject()
159
167
.endObject()
160
168
.endObject()
@@ -164,7 +172,7 @@ public void testTDigestHistogram() throws Exception {
0 commit comments