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

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

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

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-990:
-----------------------------------

             Summary: 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)