You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org> on 2015/07/03 19:05:04 UTC

[jira] [Updated] (CALCITE-784) LoggicalAggregate's create method discard any collation traits from input

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

Milinda Lakmal Pathirage updated CALCITE-784:
---------------------------------------------
    Attachment: CALCITE-784-0.patch

Possible fix for the issue. This patch depends on CALCITE-783 for group by with monotonic expressions.

> LoggicalAggregate's create method discard any collation traits from input
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-784
>                 URL: https://issues.apache.org/jira/browse/CALCITE-784
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Milinda Lakmal Pathirage
>            Assignee: Julian Hyde
>         Attachments: CALCITE-784-0.patch
>
>
> LogicalAggregate's create method gets the trait set of Convention.NONE from input's cluster, but doesn't use any trait information from the input. But to have proper collation trait set we need to consider input's collation trait set when inferring LogicalAggregate's traits.



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