OpenSearch/docs/en/sql
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
..
endpoints SQL: Switch JDBC to REST protocol (elastic/x-pack-elasticsearch#3543) 2018-01-16 13:26:06 -05:00
functions SQL: Fix constant folding of datetime functions (elastic/x-pack-elasticsearch#3637) 2018-01-19 15:11:37 -05:00
language Update docs to reflect date changes 2018-01-08 21:52:27 +02:00
getting-started.asciidoc Update docs to reflect date changes 2018-01-08 21:52:27 +02:00
index.asciidoc SQL: Match naming conventions for asciidoc files (elastic/x-pack-elasticsearch#3471) 2018-01-03 15:06:36 -05:00
standalone.asciidoc Revert "Revert "Merge branch 'feature/sql'"" 2017-12-13 10:19:31 -05:00