Skip to content

Conversation

astefan
Copy link
Contributor

@astefan astefan commented Sep 26, 2025

This accounts for synthetics attributes that are added as part of union types support inside StubRelation (an essential component of inline stats support). StubRelation can be regarded as a source plan node (similar to EsRelation) and, thus, the synthetics attributes handling as part of union types feature should be mirrored in this "source" plan as well.

To make this handling "encapsulated" and tightly linked to StubRelation, the constructor of the class has been changed so that the output list of Attributes is computed only in one place and be "reused" whenever a StubRelation is created or changed.

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 26, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

@astefan astefan requested a review from alex-spies September 28, 2025 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >bug 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.

2 participants