Skip to content

Commit ca5a1cd

Browse files
committed
Better estimate for half float
1 parent fff1e64 commit ca5a1cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • x-pack/plugin/sql/qa/mixed-node/src/test/java/org/elasticsearch/xpack/sql/qa/mixed_node

x-pack/plugin/sql/qa/mixed-node/src/test/java/org/elasticsearch/xpack/sql/qa/mixed_node/SqlSearchIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void testAllTypesWithRequestToUpgradedNodes() throws Exception {
138138
fieldValues.put("geo_point_field", "POINT (-122.08384302444756 37.38648299127817)");
139139
builder.append("\"float_field\":" + randomFloat + ",");
140140
fieldValues.put("float_field", Double.valueOf(randomFloat));
141-
builder.append("\"half_float_field\":123.456");
141+
builder.append("\"half_float_field\":123.4375");
142142
fieldValues.put("half_float_field", 123.45600128173828d);
143143
} else {
144144
builder.append("\"geo_point_field\":{\"lat\":\"37.386483\", \"lon\":\"-122.083843\"},");

0 commit comments

Comments
 (0)