From dc6f0f9dc7baf3112e2401d7e89a3cb89f9ab95f Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Thu, 10 Oct 2019 15:46:27 +0300 Subject: [PATCH] SQL: Re-enable muted test Close #47080 (cherry picked from commit 63a0aa7b392f565ea01ac478fec1dd91a80202e5) --- .../plugin/sql/qa/src/main/resources/pivot.csv-spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/x-pack/plugin/sql/qa/src/main/resources/pivot.csv-spec b/x-pack/plugin/sql/qa/src/main/resources/pivot.csv-spec index 963bfec88fe..7b23953299b 100644 --- a/x-pack/plugin/sql/qa/src/main/resources/pivot.csv-spec +++ b/x-pack/plugin/sql/qa/src/main/resources/pivot.csv-spec @@ -84,6 +84,17 @@ null |48396.28571428572|62140.666666666664 5 |39052.875 |46705.555555555555 ; +averageWithOneValueAndLimit +schema::languages:bt|'F':d +SELECT * FROM (SELECT languages, gender, salary FROM test_emp) PIVOT (AVG(salary) FOR gender IN ('F')) LIMIT 3; + + languages | 'F' +---------------+------------------ +null |62140.666666666664 +1 |47073.25 +2 |50684.4 +; + averageWithTwoValuesAndLimit schema::languages:bt|'M':d|'F':d SELECT * FROM (SELECT languages, gender, salary FROM test_emp) PIVOT (AVG(salary) FOR gender IN ('M', 'F')) LIMIT 3;