File tree 1 file changed +1
-1
lines changed
x-pack/plugin/sql/qa/server/src/main/java/org/elasticsearch/xpack/sql/qa 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ public void testCoerceForFloatingPointTypes() throws IOException {
230
230
// because "coerce" is true, a "123.456" floating point number STRING should be converted to 123.456 as number
231
231
// and converted to 123.5 for "scaled_float" type
232
232
// and 123.4375 for "half_float" because that is all it stores.
233
- double expectedNumber = isScaledFloat ? 123.5 : fieldType .equals ("half_float" ) ? 123.4375 : 1234.56 ;
233
+ double expectedNumber = isScaledFloat ? 123.5 : fieldType .equals ("half_float" ) ? 123.4375 : 123.456 ;
234
234
expected .put ("rows" , singletonList (singletonList (expectedNumber )));
235
235
assertResponse (expected , runSql ("SELECT " + fieldType + "_field FROM test" ));
236
236
}
You can’t perform that action at this time.
0 commit comments