SQL: Fix failing percentiles in JdbcCsvSpecIT

Original commit: elastic/x-pack-elasticsearch@da332afa9a
This commit is contained in:
Costin Leau 2018-02-15 22:33:50 +02:00
parent 749d0e3880
commit bc150c2521
2 changed files with 2 additions and 4 deletions

View File

@ -5,10 +5,8 @@
*/
package org.elasticsearch.xpack.qa.sql.nosecurity;
import org.apache.lucene.util.LuceneTestCase;
import org.elasticsearch.xpack.qa.sql.jdbc.CsvSpecTestCase;
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/3960")
public class JdbcCsvSpecIT extends CsvSpecTestCase {
public JdbcCsvSpecIT(String fileName, String groupName, String testName, Integer lineNumber, CsvTestCase testCase) {
super(fileName, groupName, testName, lineNumber, testCase);

View File

@ -23,7 +23,7 @@ SELECT gender, PERCENTILE(emp_no, 92.45) p1, PERCENTILE(emp_no, 91) p2 FROM test
gender:s | p1:d | p2:d
M | 10090.319 | 10089.320000000002
F | 10095.128 | 10093.52
F | 10096.826000000001 | 10094.68
;
multiplePercentilesWithoutComma
@ -31,7 +31,7 @@ SELECT gender, PERCENTILE(emp_no, 91) p1, PERCENTILE(emp_no, 89) p2 FROM test_em
gender:s | p1:d | p2:d
M | 10089.320000000002 | 10085.18
F | 10093.52 | 10092.08
F | 10094.68 | 10092.08
;
multiplePercentilesWithComma