SQL: Re-enable muted test
Close #47080 (cherry picked from commit 63a0aa7b392f565ea01ac478fec1dd91a80202e5)
This commit is contained in:
parent
f07de06cdd
commit
dc6f0f9dc7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue