Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2774

Import Java API classes automatically in Flink's Scala shell

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Scala Shell
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              chiwanpark Chiwan Park
              Reporter:
              trohrmann Till Rohrmann
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: