Skip to content

Conversation

@idegtiarenko
Copy link
Contributor

This change removes a folding todo from EsqlSession around retrieving enrich policy name/

@idegtiarenko idegtiarenko added >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v9.2.0 labels Jul 31, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@ivancea ivancea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment on lines 112 to 113

private static String asString(Expression expression) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this PR, Julian is adding this function to the Foldables class: https://github.com/elastic/elasticsearch/pull/131870/files#diff-dbc8ae6bfd90922dda68e61b020be920e8514b5870a999e8c85923f7e3f6d3a7R20-R25

I would move this there, to have a conflict later and avoid repeated functionality. As the error string is different, maybe having an overload accepting the error?

Copy link
Contributor

@julian-elastic julian-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@idegtiarenko
Copy link
Contributor Author

Thanks all!

@idegtiarenko idegtiarenko merged commit 2353ec6 into elastic:main Aug 1, 2025
33 checks passed
@idegtiarenko idegtiarenko deleted the remove_fold_in_enrich branch August 1, 2025 14:24
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.

4 participants