Fix union types in CCS (#128111)

Currently, union types in CCS is broken. For example, FROM 
*:remote-indices | EVAL port = TO_INT(port) returns all nulls if the
types of the port field conflict. This happens because converters are a
map of the fully qualified cluster:index -name (defined in
MultiTypeEsField), but we are looking up the converter using only the
index name, which leads to a wrong or missing converter on remote
clusters. Our tests didn't catch this because MultiClusterSpecIT
generates the same index for both clusters, allowing the local converter
to be used for remote indices.
This commit is contained in:
Nhat Nguyen 2025-05-19 22:47:30 -07:00 committed by GitHub
parent 3594ade2a9
commit c2561b5cba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 67 additions and 7 deletions

View file

@ -0,0 +1,5 @@
pr: 128111
summary: Fix union types in CCS
area: ES|QL
type: bug
issues: []