flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Hutchison (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6035) The method name(String) is undefined for the type UnsortedGrouping
Date Tue, 14 Mar 2017 08:34:41 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923789#comment-15923789
] 

Luke Hutchison commented on FLINK-6035:
---------------------------------------

I see, makes sense. I was going through my program and naming everything, and noticed that
groupBy seemed to be one of the only things that couldn't be named. I didn't realize those
were fused in the graph display of the pipeline.

Actually, one other thing I noticed was that collect() can't be named too, due to the return
type. It's probably not a time-consuming operation, since it creates a complete instantiation
of a DataSet in RAM, but maybe support a {code}.collect(String name){code} method?  (I could
open a separate bug for that, or rename this one, if you agree -- otherwise, feel free to
close this bug.)

> The method name(String) is undefined for the type UnsortedGrouping
> ------------------------------------------------------------------
>
>                 Key: FLINK-6035
>                 URL: https://issues.apache.org/jira/browse/FLINK-6035
>             Project: Flink
>          Issue Type: Bug
>          Components: DataSet API
>    Affects Versions: 1.2.0
>            Reporter: Luke Hutchison
>            Priority: Trivial
>
> If I call
> {code}
> dataSet.groupBy(0).name("group by key")
> {code}
> I get an error message like
> {noformat}
> The method name(String) is undefined for the type UnsortedGrouping<Tuple4<String,String,String,Float>>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message