Dawid Wysakowicz created FLINK-12907:
----------------------------------------
Summary: flink-table-planner-blink fails to compile with scala 2.12
Key: FLINK-12907
URL:
https://issues.apache.org/jira/browse/FLINK-12907 Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Reporter: Dawid Wysakowicz
{code}
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
{code}
https://api.travis-ci.org/v3/job/547655787/log.txt--
This message was sent by Atlassian JIRA
(v7.6.3#76005)