You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (JIRA)" <ji...@apache.org> on 2018/05/30 05:23:00 UTC

[jira] [Updated] (FLINK-9473) Compilation fails after upgrade to Calcite 1.17

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

Sergey Nuyanzin updated FLINK-9473:
-----------------------------------
    Description: 

{noformat}
/apacheFlink/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogSchema.scala:40: error: class ExternalCatalogSchema needs to be abstract, since:
[ERROR] it has 2 unimplemented members.
[ERROR] /** As seen from class ExternalCatalogSchema, the missing signatures are as follows.
[ERROR]  *  For convenience, these are usable as stub implementations.
[ERROR]  */
[ERROR]   def getType(x$1: String): org.apache.calcite.rel.type.RelProtoDataType = ???
[ERROR]   def getTypeNames(): java.util.Set[String] = ???
[ERROR] 
[ERROR] class ExternalCatalogSchema(
[ERROR]       ^
[WARNING] two warnings found
[ERROR] one error found

{noformat}

while https://issues.apache.org/jira/browse/CALCITE-2045 into interface _org.apache.calcite.schema.Schema_ there were introduced two more methods: _org.apache.calcite.schema.Schema#getTypeNames_, _org.apache.calcite.schema.Schema#getType_

  was:
{noformat}
/apacheFlink/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogSchema.scala:40: error: class ExternalCatalogSchema needs to be abstract, since:
[ERROR] it has 2 unimplemented members.
[ERROR] /** As seen from class ExternalCatalogSchema, the missing signatures are as follows.
[ERROR]  *  For convenience, these are usable as stub implementations.
[ERROR]  */
[ERROR]   def getType(x$1: String): org.apache.calcite.rel.type.RelProtoDataType = ???
[ERROR]   def getTypeNames(): java.util.Set[String] = ???
[ERROR] 
[ERROR] class ExternalCatalogSchema(
[ERROR]       ^
[WARNING] two warnings found
[ERROR] one error found

{noformat}


> Compilation fails after upgrade to Calcite 1.17
> -----------------------------------------------
>
>                 Key: FLINK-9473
>                 URL: https://issues.apache.org/jira/browse/FLINK-9473
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API &amp; SQL
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>
> {noformat}
> /apacheFlink/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogSchema.scala:40: error: class ExternalCatalogSchema needs to be abstract, since:
> [ERROR] it has 2 unimplemented members.
> [ERROR] /** As seen from class ExternalCatalogSchema, the missing signatures are as follows.
> [ERROR]  *  For convenience, these are usable as stub implementations.
> [ERROR]  */
> [ERROR]   def getType(x$1: String): org.apache.calcite.rel.type.RelProtoDataType = ???
> [ERROR]   def getTypeNames(): java.util.Set[String] = ???
> [ERROR] 
> [ERROR] class ExternalCatalogSchema(
> [ERROR]       ^
> [WARNING] two warnings found
> [ERROR] one error found
> {noformat}
> while https://issues.apache.org/jira/browse/CALCITE-2045 into interface _org.apache.calcite.schema.Schema_ there were introduced two more methods: _org.apache.calcite.schema.Schema#getTypeNames_, _org.apache.calcite.schema.Schema#getType_



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)