flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetzger <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: Streaming Scala API
Date Mon, 22 Dec 2014 15:03:37 GMT
Github user rmetzger commented on the pull request:

    I would suggest to use the Keys class also for Tuples.
    If you have a Tuple3<Tuple2<String, Int>, Int, Int> and you select key 0 (which
is a Tuple2), we internally handle this as keys[] = {0,1}.
    If you really want to select only the String field of the Tuple2, you have to use string
-field section "f0.f0" and you'll get 0.
    If you just use the "trivial" extraction (= directly using the user input), you might
cause unexpected behavior.

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message