OpenSearch/x-pack/plugin/sql
Marios Trivyzas fd1bb4a33a SQL: Fix issue with mins & hours for DATEDIFF (#49252)
Previously, DATEDIFF for minutes and hours was doing a
rounding calculation using all the time fields (secs, msecs/micros/nanos).
Instead it should first truncate the 2 dates to the respective field (mins or hours)
zeroing out all the more detailed time fields and then make the subtraction.

(cherry picked from commit 124cd18e20429e19d52fd8dc383827ea5132d428)
2019-11-19 14:25:28 +01:00
..
jdbc Clean up static web server in sql-client tests (#49187) (#49197) 2019-11-15 13:02:21 -07:00
qa SQL: Fix issue with mins & hours for DATEDIFF (#49252) 2019-11-19 14:25:28 +01:00
sql-action Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
sql-cli Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
sql-client Clean up static web server in sql-client tests (#49187) (#49197) 2019-11-15 13:02:21 -07:00
sql-proto Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
src SQL: Fix issue with mins & hours for DATEDIFF (#49252) 2019-11-19 14:25:28 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00