You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2015/10/15 15:13:06 UTC
[jira] [Resolved] (FLINK-2774) Import Java API classes
automatically in Flink's Scala shell
[ https://issues.apache.org/jira/browse/FLINK-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske resolved FLINK-2774.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.10
Fixed via c82ebbfce0b11a4b4de3126fb02ccfdad80e0837
> Import Java API classes automatically in Flink's Scala shell
> ------------------------------------------------------------
>
> Key: FLINK-2774
> URL: https://issues.apache.org/jira/browse/FLINK-2774
> Project: Flink
> Issue Type: Improvement
> Components: Scala Shell
> Reporter: Till Rohrmann
> Assignee: Chiwan Park
> Priority: Minor
> Fix For: 0.10
>
>
> Flink's Scala API depends partially on Flink's Java API classes. For example, the {{sortPartition}} method requires an {{Order}} enum value. Flink's Scala shell, however, only imports the Scala API classes. Thus, if a user wants to {{sortPartition}} in the Scala shell, he has to manually import the {{org.apache.flink.api.common.operators.Order}} enumeration. In order to improve the user experience. I propose to automatically import all Java API classes in Flink's Scala shell.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)