You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2020/02/14 01:13:00 UTC

[jira] [Resolved] (CALCITE-3792) Remove the generic type declaration of method RelOptCluster#getMetadataQuery

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

Danny Chen resolved CALCITE-3792.
---------------------------------
    Resolution: Fixed

Fixed in [dfdb335|https://github.com/apache/calcite/commit/dfdb3354c5f4bca1fe5a53a1aecff6ca4bc1a0c2] !

> Remove the generic type declaration of method RelOptCluster#getMetadataQuery
> ----------------------------------------------------------------------------
>
>                 Key: CALCITE-3792
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3792
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.22.0
>            Reporter: Danny Chen
>            Assignee: Danny Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.22.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The type inference of Scala code 'val mq = cluster.getMetadataQuery' is failed during compile time, if we have that generic type declaration for the Java method.
> Remove the type declaration makes the Scala code more user friendly and straight-forward.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)