flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (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:46:41 GMT

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

Fabian Hueske commented on FLINK-6035:
--------------------------------------

I agree, naming the sinks added by {{collect()}} and {{count()}} makes sense.
However, both methods are declared a @Public and might not be changed before Flink 2.0.0.

So we would need to add new methods with a name parameter and forward calls on the old methods
to the new methods.
The same methods should be added to the Scala API ({{DataSet.scala}} as well.

Regarding renaming this issue or closing this one and creating a new one I'm fine either ways.

> 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