Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Sep 11, 2024

This converts half of the remaining PhysicalPlans to NamedWriteable to line up better with the rest of Elasticsearch.

This converts half of hte remaining `PhysicalPlan`s to `NamedWriteable`
to line up better with the rest of Elasticsearch.
@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 Sep 11, 2024
Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

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

LGTM

this.parser = parser;
}

private static GrokExec readFrom(StreamInput in) throws IOException {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious why you used a private static factory function here instead of a constructor like in all other classes?

Copy link
Member Author

Choose a reason for hiding this comment

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

It needs source in two places and those places aren't really compatible with a ctor. It's funky, but I figure I'll use whatever takes the minimum amount of typing.

Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

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

@nik9000 nik9000 merged commit cf35e05 into elastic:main Sep 12, 2024
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Sep 12, 2024
This converts half of hte remaining `PhysicalPlan`s to `NamedWriteable`
to line up better with the rest of Elasticsearch.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

elasticsearchmachine pushed a commit that referenced this pull request Sep 12, 2024
This converts half of hte remaining `PhysicalPlan`s to `NamedWriteable`
to line up better with the rest of Elasticsearch.
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) v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants