OpenSearch/docs/reference/sql
Andrei Stefan 2633d11eb7
Switch from using docvalue_fields to extracting values from _source (#44062) (#44804)
* Switch from using docvalue_fields to extracting values from _source
where applicable. Doing this means parsing the _source and handling the
numbers parsing just like Elasticsearch is doing it when it's indexing
a document.
* This also introduces a minor limitation: aliases type of fields that
are NOT part of a tree of sub-fields will not be able to be retrieved
anymore. field_caps API doesn't shed any light into a field being an
alias or not and at _source parsing time there is no way to know if a
root field is an alias or not. Fields of the type "a.b.c.alias" can be
extracted from docvalue_fields, only if the field they point to can be
extracted from docvalue_fields. Also, not all fields in a hierarchy of
fields can be evaluated to being an alias.

(cherry picked from commit 8bf8a055e38f00df5f49c8d97f632f69d6e00c2c)
2019-07-25 10:02:41 +03:00
..
appendix SQL: Implement CURRENT_TIME/CURTIME functions (#40662) 2019-04-04 11:45:20 +02:00
endpoints Switch from using docvalue_fields to extracting values from _source (#44062) (#44804) 2019-07-25 10:02:41 +03:00
functions Docs: fix WKTToSQL function example (#44377) 2019-07-17 12:24:28 -04:00
language SQL: double quotes escaping bug fix (#43829) 2019-07-10 16:05:22 +03:00
concepts.asciidoc [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
getting-started.asciidoc [DOCS] Change `// TESTRESPONSE[_cat]` to `// TESTRESPONSE[non_json]` (#43006) 2019-06-10 09:53:05 -04:00
index.asciidoc SQL: Spec tests now use classpath discovery (#40388) 2019-03-25 15:22:52 +02:00
limitations.asciidoc Switch from using docvalue_fields to extracting values from _source (#44062) (#44804) 2019-07-25 10:02:41 +03:00
overview.asciidoc SQL: remove beta marker from documentation (#38661) 2019-02-10 00:09:58 +02:00
security.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00