SQL: Re-enable muted test

Close #47080

(cherry picked from commit 63a0aa7b392f565ea01ac478fec1dd91a80202e5)
This commit is contained in:
Costin Leau 2019-10-10 15:46:27 +03:00
parent f07de06cdd
commit dc6f0f9dc7
1 changed files with 11 additions and 0 deletions

View File

@ -84,6 +84,17 @@ null |48396.28571428572|62140.666666666664
5 |39052.875 |46705.555555555555 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 averageWithTwoValuesAndLimit
schema::languages:bt|'M':d|'F':d 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; SELECT * FROM (SELECT languages, gender, salary FROM test_emp) PIVOT (AVG(salary) FOR gender IN ('M', 'F')) LIMIT 3;