elasticsearch/docs/reference
Andras Palinkas a3dbdae2ef
SQL: Test and fix the NULL handling of the String functions (#68379)
Fixed the inconsistencies regarding NULL argument handling.
NULL literal vs NULL field value as function arguments in some case
resulted in different function return values.

Functions should return with the same value no matter if the argument(s)
came from a field or from a literal.

The introduced integration test tests if function calls with same
argument values (regardless of literal/field) will return with the
same output (also checks if newly added functions are added to the
testcases).

Fixed the following functions:
* Insert: NULL start, length and replacement arguments (as fields) also
result in NULL return value instead of returning the input.
* Locate: NULL pattern results in NULL return value, NULL optional start
argument handled the same as missing start argument
* Replace: NULL pattern and replacement results in NULL instead of
returning the input
* Substring: NULL start or length results in NULL instead of returning
the input

Fixes #58907
2021-02-05 12:30:37 -05:00
..
aggregations [DOCS] Add missing newline for bulleted list in top_metrics docs (#68481) (#68550) 2021-02-04 14:49:02 -05:00
analysis [DOCS] Fix typo 2021-02-03 10:45:16 -05:00
autoscaling [DOCS] Fixes typo in decider docs. (#67743) 2021-01-20 10:51:17 +01:00
cat [DOCS] Document cat allocation API response properties (#65635) 2021-02-03 12:58:35 -05:00
ccr [DOCS] Add links to ESS for setting up remote clusters on cloud. (#68401) 2021-02-02 14:32:54 -05:00
cluster Add processor architectures to cluster stats (#68264) 2021-02-02 09:48:20 +00:00
commands Remove support of creating CA on the fly when generating certificates (#65590) 2020-12-16 13:54:32 +11:00
data-streams [DOCS] Update ILM screenshots and tutorial (#68482) 2021-02-05 08:57:37 -05:00
docs [DOCS] Reuse built-in index templates admon (#68314) 2021-02-01 12:34:21 -05:00
eql [DOCS] EQL: Add filter_path param to EQL search API docs (#68537) 2021-02-04 13:39:01 -05:00
graph [DOCS] Fix API titles (#67475) 2021-01-13 15:15:37 -05:00
high-availability Adjust resiliency docs for searchable snapshots (#67630) 2021-01-19 17:40:49 +00:00
how-to [DOCS] Fix heading in disk usage tuning guide (#68519) 2021-02-04 08:52:12 -05:00
ilm [DOCS] Minor layout and syntax fixes (#68589) 2021-02-05 12:06:04 -05:00
images [DOCS] Update ILM screenshots and tutorial (#68482) 2021-02-05 08:57:37 -05:00
index-modules [DOCS] Fix some typos in docs (#66672) 2020-12-21 12:45:51 +02:00
indices [DOCS] Add force merge disclaimer to tuning guide (#68491) 2021-02-03 16:42:01 -05:00
ingest [DOCS] Removed license level information. (#68568) 2021-02-04 18:04:09 -08:00
licensing [DOCS] Fix case for 'Boolean' (#64299) 2020-10-29 09:04:43 -04:00
mapping [DOCS] Document what makes a geo-point malformed (#59045) (#68556) 2021-02-04 17:01:59 -05:00
migration [DOCS] Updating migration guide heading. (#68500) 2021-02-03 16:14:42 -08:00
ml [DOCS] Expands feature processors property description and adds a link of conceptual docs (#68213) 2021-02-02 14:48:43 +01:00
modules Set recovery rate for dedicated cold nodes (#68480) 2021-02-04 10:36:07 -05:00
monitoring [DOCS] Clarify elasticsearch module for Stack monitoring (#64497) 2021-01-19 16:14:46 -08:00
query-dsl [DOCS] Remove outdated deprecated notes (#68246) 2021-02-01 09:30:45 -05:00
release-notes Fix range query on date fields for number inputs (#63692) 2020-12-01 18:49:50 +01:00
repositories-metering-api [DOCS] Add security privileges to repositories monitoring API docs (#67944) 2021-01-26 09:05:56 -05:00
rest-api Add multi_terms aggs (#67597) 2021-02-03 13:13:33 -05:00
rollup [DOCS] Fix rollup V2 security docs (#68518) 2021-02-04 12:37:41 -05:00
scripting [DOCS] Fix ingest script compilation rate and cache size (#61468) 2020-08-24 10:26:38 -04:00
search [DOCS] Add security privileges to search API docs (#68009) 2021-02-03 16:30:51 -05:00
searchable-snapshots Add partial searchable snapshot support for a frozen tier (#68509) 2021-02-05 09:15:07 +01:00
settings [DOCS] Clarifies default ML and transform node settings (#67671) 2021-01-19 14:19:37 -08:00
setup [DOCS] Update package description. (#68565) 2021-02-04 16:47:12 -08:00
slm [DOCS] Fix SLM security privilege wording (#68238) 2021-01-29 16:48:14 -05:00
snapshot-restore [DOCS] Add security privileges to snapshot/restore API docs (#67955) 2021-02-02 09:34:35 -05:00
sql SQL: Test and fix the NULL handling of the String functions (#68379) 2021-02-05 12:30:37 -05:00
tab-widgets [DOCS] Improve docs for Windows DOS/UNC paths in path.* settings (#64668) 2020-11-09 10:36:48 -05:00
text-structure/apis [ML] [DOCS] update find-structure reference docs (#67586) 2021-01-15 12:19:38 -05:00
transform [Transform] refactor cat transform to show more useful information (#68232) 2021-02-02 07:29:20 +01:00
upgrade [DOCS] Make cat API verbose query param explicit (#67300) 2021-01-11 17:19:23 -05:00
vectors [DOCS] Update my-index examples (#60132) 2020-07-27 14:46:39 -04:00
aggregations.asciidoc [DOCS] Rewrite aggs overview (#64318) 2020-10-30 08:39:38 -04:00
analysis.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
api-conventions.asciidoc Expand and consolidate networking docs (#68051) 2021-02-01 13:06:20 +00:00
cat.asciidoc [DOCS] Fix cat API list order (#67486) 2021-01-13 16:41:44 -05:00
cluster.asciidoc Password-protected Keystore Feature Branch PR (#51123) 2020-01-27 19:51:39 -05:00
data-management.asciidoc [DOCS] Move Kibana index mgmt docs to ES (#64380) 2020-10-30 09:14:52 -04:00
data-rollup-transform.asciidoc [DOCS] Changes level offset of transform pages (#60066) 2020-07-22 10:55:48 -07:00
datatiers.asciidoc Cold tier time-range should not be specified (#65546) 2020-11-30 15:04:41 +01:00
dependencies-versions.asciidoc [DOCS] Added appendix to show dependencies (#67962) 2021-01-26 16:16:05 -08:00
docs.asciidoc [DOCS] Remove heading offsets for REST APIs (#44568) 2019-07-19 14:35:36 -04:00
frozen-indices.asciidoc [DOCS] Make cat API verbose query param explicit (#67300) 2021-01-11 17:19:23 -05:00
getting-started.asciidoc [DOCS] Make cat API verbose query param explicit (#67300) 2021-01-11 17:19:23 -05:00
glossary.asciidoc [DOCS] Add xrefs to rollup overview (#68119) 2021-01-28 10:37:30 -05:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
high-availability.asciidoc [DOCS] Add docs for designing resilient clusters (#47233) 2020-06-05 11:48:44 -04:00
how-to.asciidoc [DOCS] Document shard sizing guide (#61942) 2020-09-28 09:24:40 -04:00
index-extra-title-page.html [DOCS] Add index-extra-title-page.html for direct HTML migration (#50189) 2019-12-13 12:44:12 -05:00
index-modules.asciidoc [DOCS] Update CCR docs to focus on Kibana (#60555) 2020-08-17 15:36:54 -04:00
index.asciidoc [DOCS] Added appendix to show dependencies (#67962) 2021-01-26 16:16:05 -08:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc [DOCS] Mark template exists API as legacy (#67286) 2021-01-11 14:14:44 -05:00
ingest.asciidoc [DOCS] Fix ingest node.roles example (#66287) 2020-12-15 08:19:54 -05:00
intro.asciidoc [DOCS] Update rollup xrefs (#66799) 2020-12-23 13:49:15 -05:00
links.asciidoc [DOCS] Fix security links in machine learning APIs (#60098) 2020-07-23 12:14:56 -07:00
mapping.asciidoc Minor revision missed in merge. (#67282) 2021-01-11 13:50:06 -05:00
query-dsl.asciidoc [DOCS] Add redirects for wildcard and constant keyword (#61815) 2020-09-01 15:32:35 -04:00
redirects.asciidoc Expand and consolidate networking docs (#68051) 2021-02-01 13:06:20 +00:00
release-notes.asciidoc [DOCS] Adds placeholders for v8 highlights, breaking changes, release notes (#38641) 2019-02-08 15:48:42 -08:00
scripting.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
search.asciidoc [DOCS] Display point in time API docs (#61527) 2020-08-25 11:03:41 -04:00
setup.asciidoc Expand and consolidate networking docs (#68051) 2021-02-01 13:06:20 +00:00
upgrade.asciidoc [DOCS] Add tip for upgrade assistant (#55027) 2020-05-05 09:49:22 -04:00