1ad8bf67a9c82cbb5ff38e5cf785f9fe2516d009 | Author: Benjamin Lerer <b.lerer@gmail.com>
| 2021-11-04 16:47:16+01:00
Allow to aggregate by time intervals
Patch by Benjamin Lerer; review by Andres De la Pena and Yifan Cai for CASSANDRA-11871
The patch allow to use pure monotonic functions on the last attribute of the GROUP BY clause and introduce some floor functions that can be use to group by time range.
A function is pure if:
1. The function return values are identical for identical arguments
2. The function application has no side effects
A function is monotonic if it is either entirely nonincreasing or nondecreasing.