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 
return out.dialect.supportsWindowFunctions()
    && !RexOver.containsOver(project.getProjects(), null);

This message was sent by Atlassian JIRA

Reply via email to