From f4ea03d29dddb14f62c13eedf06515d5b55d222d Mon Sep 17 00:00:00 2001 From: Chris Hegarty <62058229+ChrisHegarty@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:29:51 +0000 Subject: [PATCH] ES|QL capitalize commands in doc examples for match and qstr (#116399) --- .../src/main/resources/match-function.csv-spec | 10 +++++----- .../src/main/resources/match-operator.csv-spec | 10 +++++----- .../src/main/resources/qstr-function.csv-spec | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-function.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-function.csv-spec index b0578aa1a4ed0..c35f4c19cc347 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-function.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-function.csv-spec @@ -6,11 +6,11 @@ matchWithField required_capability: match_function // tag::match-with-field[] -from books -| where match(author, "Faulkner") -| keep book_no, author -| sort book_no -| limit 5; +FROM books +| WHERE MATCH(author, "Faulkner") +| KEEP book_no, author +| SORT book_no +| LIMIT 5; // end::match-with-field[] // tag::match-with-field-result[] diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-operator.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-operator.csv-spec index 18bb7cdf866c9..7b55ece964b89 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-operator.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/match-operator.csv-spec @@ -6,11 +6,11 @@ matchWithField required_capability: match_operator_colon // tag::match-with-field[] -from books -| where author:"Faulkner" -| keep book_no, author -| sort book_no -| limit 5; +FROM books +| WHERE author:"Faulkner" +| KEEP book_no, author +| SORT book_no +| LIMIT 5; // end::match-with-field[] // tag::match-with-field-result[] diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/qstr-function.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/qstr-function.csv-spec index 6dc03d0debcfa..3e92e55928d64 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/qstr-function.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/qstr-function.csv-spec @@ -6,11 +6,11 @@ qstrWithField required_capability: qstr_function // tag::qstr-with-field[] -from books -| where qstr("author: Faulkner") -| keep book_no, author -| sort book_no -| limit 5; +FROM books +| WHERE QSTR("author: Faulkner") +| KEEP book_no, author +| SORT book_no +| LIMIT 5; // end::qstr-with-field[] // tag::qstr-with-field-result[]