-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
[FLINK-36926][table] Introduce window join operator with async state api #25815
base: master
Are you sure you want to change the base?
Conversation
9aaf745
to
6786df0
Compare
6786df0
to
5f9b5a6
Compare
@@ -40,6 +41,16 @@ public ListStateDescriptor(String stateId, TypeInformation<T> typeInfo) { | |||
super(stateId, typeInfo); | |||
} | |||
|
|||
/** | |||
* Creates a new {@code ListStateDescriptor} with the given name and list element type. |
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.
list element type. -> the given type serializer.
AbstractStreamOperator<?> abstractStreamOperator = (AbstractStreamOperator<?>) operator; | ||
KeyedStateBackend<Object> keyedStateBackend = abstractStreamOperator.getKeyedStateBackend(); | ||
KeyedStateBackend<?> keyedStateBackend; | ||
if (operator instanceof AbstractAsyncStateStreamOperator) { |
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.
as reflection is quite costly and the operator is an instance variable, can we organize the code so the reflection is done once and caches rather than on every access. I know this is test code - but it could save some time.
CI failing |
What is the purpose of the change
Introduce new Window Join Operator with Async State API.
Brief change log
Verifying this change
Existent tests and new added tests can verify this change.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation