You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/03/10 02:20:38 UTC

[jira] [Resolved] (CALCITE-608) Exception is thrown when RelMdDistribution for Project operator is called

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

Julian Hyde resolved CALCITE-608.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0-incubating

Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/03e94498

> Exception is thrown when RelMdDistribution for Project operator is called
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-608
>                 URL: https://issues.apache.org/jira/browse/CALCITE-608
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 1.1.0-incubating
>
>
> The following Exception is thrown when the distribution metadata provider for Project is called:
> {noformat}
> Caused by: java.lang.AssertionError
> at org.apache.calcite.util.mapping.Mappings.create(Mappings.java:62)
> at org.apache.calcite.rel.core.Project.getMapping(Project.java:283)
> at org.apache.calcite.rel.metadata.RelMdDistribution.project(RelMdDistribution.java:140)
> at org.apache.calcite.rel.metadata.RelMdDistribution.distribution(RelMdDistribution.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.calcite.rel.metadata.ReflectiveRelMetadataProvider$2$1.invoke(ReflectiveRelMetadataProvider.java:194)
> at com.sun.proxy.$Proxy31.distribution(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ...
> {noformat}
> It looks like the assertion is too strict.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)