druid/common
Gian Merlino 5f6bdd940b SQL: Improve translation of time floor expressions. (#5107)
* SQL: Improve translation of time floor expressions.

The main change is to TimeFloorOperatorConversion.applyTimestampFloor.

- Prefer timestamp_floor expressions to timeFormat extractionFns, to
  avoid turning things into strings when it isn't necessary.
- Collapse CAST(FLOOR(X TO Y) AS DATE) to FLOOR(X TO Y) if appropriate.

* Fix tests.
2017-11-29 12:06:03 -08:00
..
src SQL: Improve translation of time floor expressions. (#5107) 2017-11-29 12:06:03 -08:00
pom.xml Bump versions in master to 0.11.1-SNAPSHOT. (#4878) 2017-09-28 17:09:51 -05:00