Skip to content

Commit dce7cd0

Browse files
committed
update docs
1 parent 2506a55 commit dce7cd0

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

docs/reference/esql/functions/description/hash.asciidoc

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/definition/hash.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/docs/hash.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/string-functions.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* <<esql-concat>>
1414
* <<esql-ends_with>>
1515
* <<esql-from_base64>>
16+
* <<esql-hash>>
1617
* <<esql-left>>
1718
* <<esql-length>>
1819
* <<esql-locate>>
@@ -37,6 +38,7 @@ include::layout/byte_length.asciidoc[]
3738
include::layout/concat.asciidoc[]
3839
include::layout/ends_with.asciidoc[]
3940
include::layout/from_base64.asciidoc[]
41+
include::layout/hash.asciidoc[]
4042
include::layout/left.asciidoc[]
4143
include::layout/length.asciidoc[]
4244
include::layout/locate.asciidoc[]

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/Hash.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ public class Hash extends EsqlScalarFunction {
4141
private final Expression alg;
4242
private final Expression input;
4343

44-
@FunctionInfo(returnType = "keyword", description = "Computes the hash of the input using java.security.MessageDigest.")
44+
@FunctionInfo(
45+
returnType = "keyword",
46+
description = "Computes the hash of the input using various algorithms such as MD5, SHA, SHA-224, SHA-256, SHA-384, SHA-512."
47+
)
4548
public Hash(
4649
Source source,
4750
@Param(name = "alg", type = { "keyword", "text" }, description = "Hash algorithm to use.") Expression alg,

0 commit comments

Comments
 (0)