elasticsearch/docs/reference/esql/processing-commands
Nik Everett c6fe3c3efe
ESQL: Improve syntax for LOOKUP tables (#109489)
Replace the syntax for `tables` with something a little more natural.

Now it is:

```
$ curl -uelastic:password -HContent-Type:application/json -XPOST \
    'localhost:9200/_query?error_trace&pretty&format=txt' \
-d'{
    "query": "ROW a=1::LONG | LOOKUP t ON a",
    "tables": {
        "t": {
            "a": {"long":     [    1,     4,     2]},
            "v1": {"integer": [   10,    11,    12]},
            "v2": {"keyword": ["cat", "dog", "wow"]}
        }
    }
}'
      v1       |      v2       |       a
---------------+---------------+---------------
10             |cat            |1
```
2024-06-11 23:26:04 +10:00
..
dissect.asciidoc [DOCS] Small ES|QL improvements (#101877) 2023-11-07 17:24:59 +01:00
drop.asciidoc Document ESQL docs examples (#105197) 2024-02-06 12:34:02 -05:00
enrich.asciidoc ESQL: Remove remaining IT_tests_only (#108434) 2024-05-09 09:32:46 -04:00
eval.asciidoc [DOCS] More ES|QL backtick examples (#103995) 2024-01-08 12:13:33 +01:00
grok.asciidoc [DOCS] Uniform formatting for ES|QL commands (#101728) 2023-11-06 08:42:13 +01:00
keep.asciidoc [DOCS] Update KEEP command with duplicate precedence rules (#105146) 2024-02-06 15:55:41 +01:00
limit.asciidoc Document ESQL docs examples (#105197) 2024-02-06 12:34:02 -05:00
lookup.asciidoc ESQL: Improve syntax for LOOKUP tables (#109489) 2024-06-11 23:26:04 +10:00
mv_expand.asciidoc [DOCS] ESQL goes GA (#108342) 2024-05-07 14:12:50 +02:00
rename.asciidoc [DOCS] Uniform formatting for ES|QL commands (#101728) 2023-11-06 08:42:13 +01:00
sort.asciidoc [DOCS] Uniform formatting for ES|QL commands (#101728) 2023-11-06 08:42:13 +01:00
stats.asciidoc [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 2024-01-30 19:29:12 +01:00
where.asciidoc [DOCS] Improve ES|QL functions reference for functions E-Z (#104623) 2024-01-25 16:32:24 +01:00