Skip to content

Add OperatorContext to WorkProcessorSourceOperatorFactory.create#17845

Merged
sopel39 merged 1 commit intotrinodb:masterfrom
starburstdata:ls/2306/002-work-process-op-context
Jun 12, 2023
Merged

Add OperatorContext to WorkProcessorSourceOperatorFactory.create#17845
sopel39 merged 1 commit intotrinodb:masterfrom
starburstdata:ls/2306/002-work-process-op-context

Conversation

@lukasz-stec
Copy link
Copy Markdown
Member

Description

Since WorkProcessorSourceOperator is only used in the context of an operator, it seems feasible to pass OperatorContext to its factory.

Additional context and related issues

Release notes

(X ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Jun 12, 2023
@lukasz-stec lukasz-stec requested review from findepi and martint June 12, 2023 10:13
@findepi findepi requested review from raunaqmorarka and sopel39 June 12, 2023 10:39
{
default WorkProcessorSourceOperator createAdapterOperator(
Session session,
OperatorContext operatorContext,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It would be better to introduce WorkProcessorOperatorContext

@sopel39 sopel39 merged commit c462372 into trinodb:master Jun 12, 2023
@github-actions github-actions bot added this to the 420 milestone Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants