Skip to content

Commit b7aaf31

Browse files
authored
Adding Contains ESQL String function (#133016)
Adding ES:QL Contains function and tests
1 parent 94648e4 commit b7aaf31

File tree

19 files changed

+743
-0
lines changed

19 files changed

+743
-0
lines changed

docs/changelog/133016.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 133016
2+
summary: Adding Contains ESQL String function
3+
area: ES|QL
4+
type: feature
5+
issues: []

docs/reference/query-languages/esql/_snippets/functions/description/contains.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/examples/contains.md

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/layout/contains.md

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/parameters/contains.md

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/types/contains.md

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/lists/string-functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
* [`BIT_LENGTH`](../../functions-operators/string-functions.md#esql-bit_length)
22
* [`BYTE_LENGTH`](../../functions-operators/string-functions.md#esql-byte_length)
33
* [`CONCAT`](../../functions-operators/string-functions.md#esql-concat)
4+
* [`CONTAINS`](../../functions-operators/string-functions.md#esql-contains)
45
* [`ENDS_WITH`](../../functions-operators/string-functions.md#esql-ends_with)
56
* [`FROM_BASE64`](../../functions-operators/string-functions.md#esql-from_base64)
67
* [`HASH`](../../functions-operators/string-functions.md#esql-hash)

docs/reference/query-languages/esql/functions-operators/string-functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ mapped_pages:
2121
:::{include} ../_snippets/functions/layout/concat.md
2222
:::
2323

24+
:::{include} ../_snippets/functions/layout/contains.md
25+
:::
26+
2427
:::{include} ../_snippets/functions/layout/ends_with.md
2528
:::
2629

docs/reference/query-languages/esql/images/functions/contains.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/reference/query-languages/esql/kibana/definition/functions/contains.json

Lines changed: 85 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)