mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
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:
parent
3594ade2a9
commit
c2561b5cba
5 changed files with 67 additions and 7 deletions
5
docs/changelog/128111.yaml
Normal file
5
docs/changelog/128111.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
pr: 128111
|
||||
summary: Fix union types in CCS
|
||||
area: ES|QL
|
||||
type: bug
|
||||
issues: []
|
Loading…
Add table
Add a link
Reference in a new issue