[
https://issues.apache.org/jira/browse/CALCITE-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maryann Xue updated CALCITE-1019:
---------------------------------
Attachment: CALCITE-1019.patch
> RelMdUtil.checkInputForCollationAndLimit() was wrong with alreadySorted check
> -----------------------------------------------------------------------------
>
> Key: CALCITE-1019
> URL: https://issues.apache.org/jira/browse/CALCITE-1019
> Project: Calcite
> Issue Type: Bug
> Reporter: Maryann Xue
> Assignee: Maryann Xue
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: CALCITE-1019.patch
>
>
> The below line works incorrectly with EMPTY collation:
> {code}
> final boolean alreadySorted = RelCollations.equal(
> ImmutableList.of(collation), inputCollation);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)