Skip to content

Conversation

@bpintea
Copy link
Contributor

@bpintea bpintea commented Sep 23, 2025

This will allow any attribute type be replaced in node that's being pushed down past a Project. So far only ReferenceAttributes were replaced. Some nodes reference other types, like FieldAttribute (in OrderBy), which would otherwise be pushed down unchanged, and thus possibly wrongly (such as when the Project renames to the field attribute name, thus showdowing it).

Closes #134407

This will allow any attribute type be replaced in rule that's being
pushed down past a Project. So far only `ReferenceAttribute`s were
replaced. Some nodes reference other types, like `FieldAttribute` (like
`OrderBy`), which would otherwise be pushed down unchanged, and thus
wrongly.
@bpintea bpintea added >bug auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.2.0 v8.20.0 labels Sep 23, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@bpintea bpintea added the v9.2.1 label Oct 7, 2025
@bpintea bpintea removed the v8.19.6 label Oct 7, 2025
@bpintea bpintea marked this pull request as ready for review October 7, 2025 16:10
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 7, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@alex-spies alex-spies left a comment

Choose a reason for hiding this comment

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

Thanks @bpintea , looking good!

@bpintea
Copy link
Contributor Author

bpintea commented Oct 9, 2025

Thanks, Alex!

@bpintea bpintea merged commit a0dc6aa into elastic:main Oct 9, 2025
35 checks passed
@bpintea bpintea deleted the fix/134407 branch October 9, 2025 11:17
bpintea added a commit to bpintea/elasticsearch that referenced this pull request Oct 9, 2025
…tic#135295)

This will allow any attribute type be replaced in node that's being pushed down past a `Project`. So far only `ReferenceAttribute`s were replaced. Some nodes reference other types, like `FieldAttribute` (in `OrderBy`), which would otherwise be pushed down unchanged, and thus possibly wrongly (such as when the `Project` renames _to_ the field attribute name, thus showdowing it).

Closes elastic#134407
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.2

elasticsearchmachine pushed a commit that referenced this pull request Oct 9, 2025
) (#136275)

This will allow any attribute type be replaced in node that's being pushed down past a `Project`. So far only `ReferenceAttribute`s were replaced. Some nodes reference other types, like `FieldAttribute` (in `OrderBy`), which would otherwise be pushed down unchanged, and thus possibly wrongly (such as when the `Project` renames _to_ the field attribute name, thus showdowing it).

Closes #134407
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) v9.2.1 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] GenerativeIT test failing

3 participants