OpenSearch/docs
Nik Everett b165f1c71e SQL: Fix constant folding of datetime functions (elastic/x-pack-elasticsearch#3637)
I went to write some docs for datetime functions that look like:
```
SELECT YEAR(CAST('2018-01-19T10:23:27Z' AS TIMESTAMP)) as year;

  year
2018

```
because I figured they'd be pretty easy to read because they didn't
require any knowledge of a data set. But it turns out that constant
folding doesn't work properly for date time functions because they don't
actually apply the extraction.

Original commit: elastic/x-pack-elasticsearch@aa9c66b2c7
2018-01-19 15:11:37 -05:00
..
en SQL: Fix constant folding of datetime functions (elastic/x-pack-elasticsearch#3637) 2018-01-19 15:11:37 -05:00
src/test/java/org/elasticsearch/smoketest [TESTS] Refactor yml test suite classes (elastic/x-pack-elasticsearch#3145) 2017-11-29 12:43:53 +00:00
build.gradle Merge remote-tracking branch 'origin/master' into feature/sql_2 2018-01-18 16:51:56 -07:00