OpenSearch/x-pack/plugin/sql
Marios Trivyzas 6b600855a9
SQL: Make parsing of date more lenient (#52137)
Make the parsing of date more lenient

- as an escaped literal: `{d '2020-02-10[[T| ]10:20[:30][.123456789][tz]]'}`
- cast a string to a date: `CAST(2020-02-10[[T| ]10:20[:30][.123456789][tz]]' AS DATE)`

Closes: #49379
(cherry picked from commit 5863b27500d5e7f6cdd8c6c62b09b84e53ca724a)
2020-02-10 21:47:00 +01:00
..
jdbc Remove comparison to true for booleans (#51723) 2020-01-31 16:35:43 -08:00
qa Fix milliseconds handling in intervals (#51675) (#52156) 2020-02-10 19:24:26 +01:00
sql-action Upgrade to lucene-8.5.0-snapshot-d62f6307658 (#52039) (#52130) 2020-02-10 10:13:22 +01:00
sql-cli Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
sql-client SQL: Handle uberjar scenario where the ES jdbc driver file is bundled in another jar (#51856) (#52024) 2020-02-07 04:15:59 +02:00
sql-proto Fix milliseconds handling in intervals (#51675) (#52156) 2020-02-10 19:24:26 +01:00
src SQL: Make parsing of date more lenient (#52137) 2020-02-10 21:47:00 +01:00
build.gradle QL: Backport project to 7.x (#51497) 2020-01-27 22:03:58 +02:00