[
https://issues.apache.org/jira/browse/CALCITE-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chen updated CALCITE-3792:
--------------------------------
Description:
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.
was:The type inference of Scala code 'val mq = cluster.getMetadataQuery' is
failed if we have that generic type declaration for the Java method
> 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: 40m
> 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)