From bc150c2521470d79239f141a4edd995e30eb9b0a Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Thu, 15 Feb 2018 22:33:50 +0200 Subject: [PATCH] SQL: Fix failing percentiles in JdbcCsvSpecIT Original commit: elastic/x-pack-elasticsearch@da332afa9a31ee1642ad2f80e6ff73d92d53a44f --- .../elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java | 2 -- qa/sql/src/main/resources/agg.csv-spec | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java b/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java index 20b5c8730bd..09860d375b5 100644 --- a/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java +++ b/qa/sql/no-security/src/test/java/org/elasticsearch/xpack/qa/sql/nosecurity/JdbcCsvSpecIT.java @@ -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); diff --git a/qa/sql/src/main/resources/agg.csv-spec b/qa/sql/src/main/resources/agg.csv-spec index 424487b84e3..9ab01b56f25 100644 --- a/qa/sql/src/main/resources/agg.csv-spec +++ b/qa/sql/src/main/resources/agg.csv-spec @@ -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