You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2019/06/19 14:40:00 UTC

[jira] [Updated] (FLINK-12907) flink-table-planner-blink fails to compile with scala 2.12

     [ https://issues.apache.org/jira/browse/FLINK-12907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till Rohrmann updated FLINK-12907:
----------------------------------
    Fix Version/s: 1.9.0

> 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
>    Affects Versions: 1.9.0
>            Reporter: Dawid Wysakowicz
>            Priority: Blocker
>             Fix For: 1.9.0
>
>
> {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)