Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/1166#discussion_r40178507
--- Diff:
flink-staging/flink-streaming/flink-streaming-core/src/main/java/org/apache/flink/streaming/util/keys/KeySelectorUtil.java
---
@@ -152,10 +119,9 @@ public ArrayKeySelector(int... fields) {
@Override
public Tuple getKey(IN value) throws Exception {
- key = (Tuple) tupleClasses[fields.length -
1].newInstance();
+ Tuple key =
Tuple.getTupleClass(fields.length).newInstance();
for (int i = 0; i < fields.length; i++) {
- int pos = fields[i];
--- End diff --
How far are we with the release candidate? We might still be able to
include it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---