Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-608

Exception is thrown when RelMdDistribution for Project operator is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0-incubating
    • None
    • None

    Description

      The following Exception is thrown when the distribution metadata provider for Project is called:

      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)
      ...
      

      It looks like the assertion is too strict.

      Attachments

        Activity

          People

            jcamacho Jesús Camacho Rodríguez
            jcamacho Jesús Camacho Rodríguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: