Skip to content

ESQL: data types transitioning from unsupported to supported fail queries #135193

@alex-spies

Description

@alex-spies

If a data type, like dense_vector, is currently unsupported, fields of that type can still be used in queries. The output will be populated with nulls, and you cannot use the field in expressions, but you can KEEP it.

Now, if we start supporting the new data type, new nodes will definitely start to actually extract the field from the index, and the output will have the appropriate type. But during rolling upgrades, and in CCS setups, remote nodes may still treat the data type as unsupported.

This means that FROM idx | KEEP unsupported_field will now start to fail even though it was just returning nulls before, because the FieldAttribute representing unsupported_field will now have a data type that may not even be present on older remote nodes - like 8.19 nodes, which are perfectly acceptable in CCS setups.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions