Skip to content

ES|QL: Folding of REPLACE with constants throws ClassCastException #129322

@luigidellaquila

Description

@luigidellaquila
row txt = "a" |  WHERE MATCH(txt, REPLACE("XS", "X", "U"))
class java.lang.String cannot be cast to class org.apache.lucene.util.BytesRef (java.lang.String is in module java.base of loader 'bootstrap'; org.apache.lucene.util.BytesRef is in module org.apache.lucene.core@10.2.1 of loader 'app')

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions