[jira] [Created] (FLINK-4804) Grouping.first() function usage fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4804) Grouping.first() function usage fails

Shang Yuanchun (Jira)
Yakov Goldberg created FLINK-4804:
-------------------------------------

             Summary: Grouping.first() function usage fails
                 Key: FLINK-4804
                 URL: https://issues.apache.org/jira/browse/FLINK-4804
             Project: Flink
          Issue Type: Bug
            Reporter: Yakov Goldberg


Trying to use Grouping.first()  in following example:
{code}
dd2 = env.from_elements((1, "data"), (1, "hello"), (1, "z"))     #dd2 = env.from_elements("data", "hello", "z", "tree","hello","world","hello", "car")     dd2 \        .group_by(0) \        .sort_group(1, Order.ASCENDING) \        .first(2) \        .reduce_group(PlainReduce(), combinable=True)
{code}    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)