Skip to content

Conversation

@luigidellaquila
Copy link
Contributor

Fixing a ClassCastException on filter pushdown for TEXT fields

Fixes: #136939

@luigidellaquila luigidellaquila added >bug auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.2.1 v8.19.7 v9.1.7 labels Oct 22, 2025
@elasticsearchmachine elasticsearchmachine added v9.3.0 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Oct 22, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Hi @luigidellaquila, I've created a changelog YAML for you.

@luigidellaquila
Copy link
Contributor Author

@nik I don't remember exactly all the details around Translatable.YES_BUT_RECHECK_NEGATED.
I guess in this case it's irrelevant, as we'll skip MVs anyway, but I could be missing something.

@astefan
Copy link
Contributor

astefan commented Oct 23, 2025

I am working on the same fix (but for #136998) and I don't think the fix in this PR is complete. It is indeed fixing that specific query, but the problem has more implications and a proper fix should cover this query and the said implications.

@luigidellaquila
Copy link
Contributor Author

Thanks for the pointer @astefan, I didn't realize that the two issues were related.

@luigidellaquila
Copy link
Contributor Author

Closing in favor of #137032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.7 v9.1.7 v9.2.1 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.lang.ClassCastException: class java.util.ImmutableCollections$ListN cannot be cast to class org.apache.lucene.util.BytesRef

3 participants