Volodymyr Vysotskyi created CALCITE-2253:
--------------------------------------------

             Summary: Fix matching predicate for JdbcProjectRule rule
                 Key: CALCITE-2253
                 URL: https://issues.apache.org/jira/browse/CALCITE-2253
             Project: Calcite
          Issue Type: Bug
            Reporter: Volodymyr Vysotskyi
            Assignee: Julian Hyde


In CALCITE-2206 was prevented pushing windowed aggregates down for the 
{{SqlDialect}}s which do not support windowed functions.

After these changes, {{JdbcProjectRule}} is matched *only* for the cases when 
{{SqlDialect}} supports windowed functions and project contains windowed 
functions:
{code:java}
return out.dialect.supportsWindowFunctions()
    && !RexOver.containsOver(project.getProjects(), null);
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to