File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
x-pack/plugin/esql/qa/testFixtures/src/main/resources Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -732,6 +732,28 @@ language.id:integer | language.name:text | language.name.keyword:keyword | langu
7327322 | French | French | FR
733733;
734734
735+ ###############################################
736+ # union type behavior
737+ ###############################################
738+
739+ joinOnMultiTypedMatchFieldCastToInteger
740+ required_capability: join_lookup_v12
741+
742+ FROM apps, apps_short METADATA _index
743+ | EVAL language_code = id::integer
744+ | KEEP _index, language_code
745+ | WHERE language_code < 3
746+ | LOOKUP JOIN languages_lookup ON language_code
747+ | SORT _index ASC, language_code ASC
748+ ;
749+
750+ _index:keyword | language_code:integer | language_name:keyword
751+ apps | 1 | English
752+ apps | 2 | French
753+ apps_short | 1 | English
754+ apps_short | 2 | French
755+ ;
756+
735757###############################################
736758# Tests with clientips_lookup index
737759###############################################
You can’t perform that action at this time.
0 commit comments