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

Finish moving scala expression DSL to flink-table-api-scala

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Hide
      Due to various issues with packages {{org.apache.flink.table.api.scala/java}} all classes from those packages were relocated. Moreover the scala expressions were moved to org.apache.flink.table.api as anounced in Flink 1.9.

      If you used one of
      * {{org.apache.flink.table.api.java.StreamTableEnvironment}}
      * {{org.apache.flink.table.api.scala.StreamTableEnvironment}}
      * {{org.apache.flink.table.api.java.BatchTableEnvironment}}
      * {{org.apache.flink.table.api.scala.BatchTableEnvironment}}

      and you do not convert to/from DataStream switch to:
      * {{org.apache.flink.table.api.TableEnvironment}}

      If you do convert to/from DataStream/DataSet change your imports to one of:
      * {{org.apache.flink.table.api.bridge.java.StreamTableEnvironment}}
      * {{org.apache.flink.table.api.bridge.scala.StreamTableEnvironment}}
      * {{org.apache.flink.table.api.bridge.java.BatchTableEnvironment}}
      * {{org.apache.flink.table.api.bridge.scala.BatchTableEnvironment}}

      For the Scala expressions use the import:
      {{org.apache.flink.table.api._}} instead of {{org.apache.flink.table.api.bridge.scala._}}

      additionally if you use Scala's implicit conversions to/from DataStream/DataSet import
      {{org.apache.flink.table.api.bridge.scala._}} instead of {{org.apache.flink.table.api.scala._}}
      Show
      Due to various issues with packages {{org.apache.flink.table.api.scala/java}} all classes from those packages were relocated. Moreover the scala expressions were moved to org.apache.flink.table.api as anounced in Flink 1.9. If you used one of * {{org.apache.flink.table.api.java.StreamTableEnvironment}} * {{org.apache.flink.table.api.scala.StreamTableEnvironment}} * {{org.apache.flink.table.api.java.BatchTableEnvironment}} * {{org.apache.flink.table.api.scala.BatchTableEnvironment}} and you do not convert to/from DataStream switch to: * {{org.apache.flink.table.api.TableEnvironment}} If you do convert to/from DataStream/DataSet change your imports to one of: * {{org.apache.flink.table.api.bridge.java.StreamTableEnvironment}} * {{org.apache.flink.table.api.bridge.scala.StreamTableEnvironment}} * {{org.apache.flink.table.api.bridge.java.BatchTableEnvironment}} * {{org.apache.flink.table.api.bridge.scala.BatchTableEnvironment}} For the Scala expressions use the import: {{org.apache.flink.table.api._}} instead of {{org.apache.flink.table.api.bridge.scala._}} additionally if you use Scala's implicit conversions to/from DataStream/DataSet import {{org.apache.flink.table.api.bridge.scala._}} instead of {{org.apache.flink.table.api.scala._}}

    Description

      FLINK-13045 performed the first step of moving implicit conversions to a long term package object. It also added release notes so that users have time to adapt to the changes.

      Now that it's two releases since that time, we can finish moving all the intended conversions.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dwysakowicz Dawid Wysakowicz
            dwysakowicz Dawid Wysakowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment