-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fork time-series source to allow field extractions #127375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
martijnvg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
| layout.append(ts.output()); | ||
| int instanceCount = Math.max(1, luceneFactory.taskConcurrency()); | ||
| context.driverParallelism(new DriverParallelism(DriverParallelism.Type.DATA_PARALLELISM, instanceCount)); | ||
| return PhysicalOperation.fromSource(luceneFactory, layout.build()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nit: this should be eventually move to a helper function to avoid duplication.
kkrik-es
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks Nhat!
This change prepares for pushing down field extractions to the time-series source for performance reasons. It is a non-issue, as the actual change will occur in a follow-up.