elasticsearch/docs/reference/esql
dreamquster 2644ccbb8a
Implement the 'left' function in issue #98545 (#98942)
@nik9000  Recheck out the main branch. Refactor the 'left' function to
cut the prefix string in place. But I meet a adversity that left failed
the test case 'testEvaluateInManyThreads'. I find that in multiple
thread situation,  `  EvalOperator.ExpressionEvaluator eval =
evalSupplier.get(); for (int c = 0; c < count; c++) {      
assertThat(toJavaObject(eval.eval(page), 0), testCase.getMatcher()); } `
toJavaObject function return a BytesRef with length=2, content is
[81,89]. However, assertThat function in junit4 receive the BytesRef
parameters that its length is 10. Can you give me some clues? I can't
find which variable is mutual.

Rerun failed test case's command: `gradlew ':x-pack:plugin:esql:test'
--tests
"org.elasticsearch.xpack.esql.expression.function.scalar.string.LeftTests.testEvaluateInManyThreads
{TestCase=Left basic test}" -Dtests.seed=44459C172243712
-Dtests.locale=lv-LV -Dtests.timezone=Asia/Irkutsk -Druntime.java=20`
2023-08-28 13:17:16 -04:00
..
aggregation-functions Docs for aggregation functions (ESQL-1268) 2023-06-14 09:23:34 -05:00
functions Implement the 'left' function in issue #98545 (#98942) 2023-08-28 13:17:16 -04:00
processing-commands Change RENAME's syntax from using = to AS (ESQL-1462) 2023-07-25 12:26:35 +02:00
source-commands Docs: compress results into query (ESQL-1259) 2023-06-12 09:37:45 -05:00
aggregation-functions.asciidoc One more set of meta attributes 2023-07-10 10:23:38 +02:00
esql-functions.asciidoc Implement the 'left' function in issue #98545 (#98942) 2023-08-28 13:17:16 -04:00
esql-get-started.asciidoc Edits 2023-04-17 11:18:51 +02:00
esql-processing-commands.asciidoc Remove meta tags 2023-07-07 13:54:39 +02:00
esql-source-commands.asciidoc Remove meta tags 2023-07-07 13:54:39 +02:00
esql-syntax.asciidoc Fix response for IS NULL (#98671) 2023-08-21 13:20:36 +02:00
index.asciidoc ESQL: date_trunc(): swap order of arguments (#98624) 2023-08-22 18:20:05 +02:00
multivalued-fields.asciidoc Add _query endpoint as _esql replacement (ESQL-1463) 2023-07-25 12:25:38 +02:00
task-management.asciidoc Add query to esql task (ESQL-1511) 2023-08-02 05:30:36 +10:00