Skip to content

Commit c4a0871

Browse files
committed
Add the text_embedding function to xpack usage tests
1 parent 8056fde commit c4a0871

File tree

1 file changed

+3
-1
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql

1 file changed

+3
-1
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ setup:
130130
- match: {esql.functions.coalesce: $functions_coalesce}
131131
- gt: {esql.functions.categorize: $functions_categorize}
132132
# Testing for the entire function set isn't feasible, so we just check that we return the correct count as an approximation.
133-
- length: {esql.functions: 176} # check the "sister" test below for a likely update to the same esql.functions length check
133+
- length: {esql.functions: 177} # check the "sister" test below for a likely update to the same esql.functions length check
134134
---
135135
"Basic ESQL usage output (telemetry) non-snapshot version":
136136
- requires:
@@ -184,6 +184,7 @@ setup:
184184
- set: {esql.functions.to_long: functions_to_long}
185185
- set: {esql.functions.coalesce: functions_coalesce}
186186
- set: {esql.functions.categorize: functions_categorize}
187+
- set: {esql.functions.text_embedding: functions_text_embedding}
187188

188189
- do:
189190
esql.query:
@@ -226,6 +227,7 @@ setup:
226227
- match: {esql.functions.coalesce: $functions_coalesce}
227228
- gt: {esql.functions.categorize: $functions_categorize}
228229
- length: {esql.functions: 150} # check the "sister" test above for a likely update to the same esql.functions length check
230+
- match: {esql.functions.text_embedding: functions_text_embedding}
229231

230232
---
231233
took:

0 commit comments

Comments
 (0)