Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Aug 26, 2025

When we compile the code for CONTAINS we generate an evaluator java class and commit that, as is our ancient custom. But because #133016 didn't see #133392, we committed out of date code. That's fine because we regenerate the code on every compile. But it's annoying because every clone is out of date. This updates the generated file.

You may be asking "why do you commit the generated code if you just generate it at compile time?" That's a good question! It's a grand tradition, one that we will probably one day leave behind. But let's celebrate it today by committing more code.

When we compile the code for `CONTAINS` we generate an evaluator java
class and commit that, as is our ancient custom. But because elastic#133016
didn't see elastic#133392, we committed out of date code. That's fine because
we regenerate the code on every compile. But it's annoying because every
clone is out of date. This updates the generated file.

You may be asking "why do you commit the generated code if you just
generate it at compile time?" That's a good question! It's a grand
tradition, one that we will probably one day leave behind. But let's
celebrate it today by committing more code.
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Aug 26, 2025
@nik9000 nik9000 enabled auto-merge (squash) August 26, 2025 21:11
@dnhatn dnhatn disabled auto-merge August 27, 2025 07:11
@dnhatn dnhatn merged commit 185a2e5 into elastic:main Aug 27, 2025
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants