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

flink-table-planner-blink fails to compile with scala 2.12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9.0
    • 1.9.0
    • Table SQL / Planner
    • None

    Description

      14:03:15.204 [ERROR] /home/travis/build/apache/flink/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/plan/nodes/resource/ExecNodeResourceTest.scala:269: error: overriding method getOutputType in trait TableSink of type ()org.apache.flink.api.common.typeinfo.TypeInformation[org.apache.flink.table.dataformat.BaseRow];
      14:03:15.204 [ERROR]  method getOutputType needs `override' modifier
      14:03:15.204 [ERROR]   @deprecated def getOutputType: TypeInformation[BaseRow] = {
      14:03:15.204 [ERROR]                   ^
      14:03:15.217 [ERROR] /home/travis/build/apache/flink/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/plan/nodes/resource/ExecNodeResourceTest.scala:275: error: overriding method getFieldNames in trait TableSink of type ()Array[String];
      14:03:15.217 [ERROR]  method getFieldNames needs `override' modifier
      14:03:15.217 [ERROR]   @deprecated def getFieldNames: Array[String] = schema.getFieldNames
      14:03:15.217 [ERROR]                   ^
      14:03:15.219 [ERROR] /home/travis/build/apache/flink/flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/plan/nodes/resource/ExecNodeResourceTest.scala:280: error: overriding method getFieldTypes in trait TableSink of type ()Array[org.apache.flink.api.common.typeinfo.TypeInformation[_]];
      14:03:15.219 [ERROR]  method getFieldTypes needs `override' modifier
      14:03:15.219 [ERROR]   @deprecated def getFieldTypes: Array[TypeInformation[_]] = schema.getFieldTypes
      

      https://api.travis-ci.org/v3/job/547655787/log.txt

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: