2019-01-30 04:37:24 +00:00
|
|
|
-------ENABLE OPTIMIZE PREDICATE-------
|
2018-12-21 02:40:15 +00:00
|
|
|
2000-01-01 1 test string 1 1 1
|
|
|
|
2000-01-01 1 test string 1 1 1
|
2019-01-30 06:59:31 +00:00
|
|
|
1
|
2019-01-30 04:37:24 +00:00
|
|
|
-------FORCE PRIMARY KEY-------
|
|
|
|
-------CHECK STATEFUL FUNCTIONS-------
|
2018-12-21 02:40:15 +00:00
|
|
|
1 a 0
|
|
|
|
2 b 0
|
|
|
|
2 a 0
|
2019-02-15 08:03:18 +00:00
|
|
|
(1,1)
|
|
|
|
(3,2)
|
|
|
|
(5,2)
|
2020-09-17 13:59:14 +00:00
|
|
|
-------finalizeAggregation should not be stateful (issue #14847)-------
|
|
|
|
2 62
|
|
|
|
3 87
|
|
|
|
4 112
|
|
|
|
5 137
|
|
|
|
SELECT
|
|
|
|
n,
|
|
|
|
`finalizeAggregation(s)`
|
|
|
|
FROM
|
|
|
|
(
|
|
|
|
SELECT
|
|
|
|
n,
|
|
|
|
finalizeAggregation(s)
|
|
|
|
FROM test_00808_push_down_with_finalizeAggregation
|
|
|
|
WHERE (n <= 5) AND (n >= 2)
|
|
|
|
)
|
|
|
|
WHERE (n >= 2) AND (n <= 5)
|