OpenSearch/x-pack/plugin/sql
Marios Trivyzas 4e9657f93f SQL: Fix bug with JDBC timezone setting and DATE type (#39978)
Previously, JDBC's REST call to the server was always sending UTC
instead of the timezone passed through connection string/properties.

Moreover the conversion to java.sql.Date was problematic as a
calculation on the epoch millis was used to set the time to 00:00:00.000
and the timezone info was lost. This caused the resulting java.sql.Date
object which is always using the JVM's timezone (no matter what timezone
setting is used in the connection string/properties) to be wrongly created.

Fixes: #39915
2019-03-14 13:41:53 +01:00
..
jdbc SQL: Fix bug with JDBC timezone setting and DATE type (#39978) 2019-03-14 13:41:53 +01:00
qa SQL: Fix bug with JDBC timezone setting and DATE type (#39978) 2019-03-14 13:41:53 +01:00
sql-action Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
sql-cli SQL: Return Intervals in SQL format for CLI (#37602) 2019-01-22 14:55:28 +02:00
sql-client SQL: introduce the columnar option for REST requests (#39287) 2019-02-27 09:37:28 +02:00
sql-proto SQL: introduce the columnar option for REST requests (#39287) 2019-02-27 09:37:28 +02:00
src SQL: Fix bug with JDBC timezone setting and DATE type (#39978) 2019-03-14 13:41:53 +01:00
build.gradle SQL: [Tests] Fix and enable internalClusterTests (#37300) 2019-01-11 22:43:17 +02:00