You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/02 12:00:37 UTC

[jira] [Commented] (FLINK-990) Scala API: Compiler Hints are not forwarded

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

ASF GitHub Bot commented on FLINK-990:
--------------------------------------

Github user tillrohrmann commented on the pull request:

    https://github.com/apache/incubator-flink/pull/51#issuecomment-47757737
  
    Changed so that all addCardinality calls will trigger an applyHints call.


> Scala API: Compiler Hints are not forwarded
> -------------------------------------------
>
>                 Key: FLINK-990
>                 URL: https://issues.apache.org/jira/browse/FLINK-990
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>
> The Scala API contains functions such as preserve, observe, neglect, uniqueKey etc. which can be used to specify compiler hints. However, they are not forwarded to the compiler. Thus an operation:
> DataSet[A] ds = input.map{ x=> x}
> ds.preserve(x=>x, y=>y)
> which should say that the fields stay constant, does not have an effect. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)