You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zakelly (via GitHub)" <gi...@apache.org> on 2023/12/01 17:25:52 UTC
[PR] [FLINK-33672] Use MapState.entries() instead of keys() and get() in over window [flink]
Zakelly opened a new pull request, #23855:
URL: https://github.com/apache/flink/pull/23855
## What is the purpose of the change
This PR replaces any combination of key iteration and getting the value for iterated key from MapState with a entry iteration followed by getKey() and getValue() of iterated entry. This could save the overhead of get() in MapState.
## Brief change log
Equivalent transformation of code in package ```org.apache.flink.table.runtime.operators.over```.
## Verifying this change
This change is a trivial rework without any new test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / **no**)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**)
- The serializers: (yes / **no** / don't know)
- The runtime per-record code paths (performance sensitive): (yes / **no** / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't know)
- The S3 file system connector: (yes / **no** / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / **no**)
- If yes, how is the feature documented? (**not applicable** / docs / JavaDocs / not documented)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FLINK-33672] Use MapState.entries() instead of keys() and get() in over window [flink]
Posted by "fsk119 (via GitHub)" <gi...@apache.org>.
fsk119 merged PR #23855:
URL: https://github.com/apache/flink/pull/23855
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FLINK-33672] Use MapState.entries() instead of keys() and get() in over window [flink]
Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #23855:
URL: https://github.com/apache/flink/pull/23855#issuecomment-1836512337
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "ef1b449c5654fb6430d486a5e16a00cbe7d93101",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "ef1b449c5654fb6430d486a5e16a00cbe7d93101",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* ef1b449c5654fb6430d486a5e16a00cbe7d93101 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FLINK-33672] Use MapState.entries() instead of keys() and get() in over window [flink]
Posted by "Zakelly (via GitHub)" <gi...@apache.org>.
Zakelly commented on PR #23855:
URL: https://github.com/apache/flink/pull/23855#issuecomment-1851243905
Thanks @fsk119
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org