Skip to content

[ES|QL] Make SubstituteSurrogateExpressions recognize SurrogateExpression attached to MultiTypeEsField #126645

@fang-xing-esql

Description

@fang-xing-esql

#126532 Introduces surrogate expressions for to_ip (conversion)function. Traditionally, the substitute surrogate expressions is done by LogicalPlanOptimizer's substitutions batch. Because SubstituteSurrogateExpressions cannot recognize the conversion/surrogate functions attached to MultiTypeEsField today, the substitution of to_ip for multi-typed fields is done in Analyzer.

This issue is open to investigate the possibility to improve SubstituteSurrogateExpressions to recognize the conversion/surrogate functions attached to MultiTypeEsField, so that the substitutions can be centralized in LogicalPlanOptimizer

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions