Jesus Camacho Rodriguez created CALCITE-995:
-----------------------------------------------

             Summary: Sort transpose rules might fall in an infinite loop
                 Key: CALCITE-995
                 URL: https://issues.apache.org/jira/browse/CALCITE-995
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.6.0
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


CALCITE-987 introduced the RelMdMaxRowCount metadata provider. By default, 
RelMdMaxRowCount returns Double.MAX, which is causing some infinite loops in 
the current test suite, as Sort will continue being pushed below Union/Join (if 
the estimate row count for Union/Join is Double.MAX).

I propose to return null by default, which makes more sense.



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

Reply via email to