druid/sql
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 Synchronization of lookups during startup of druid processes (#4758) 2017-10-12 21:22:24 -05:00