You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2019/01/03 19:27:00 UTC
[jira] [Resolved] (CALCITE-2768) PlannerTest ignores top-level
order by clause (~RootRel.collation)
[ https://issues.apache.org/jira/browse/CALCITE-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Sitnikov resolved CALCITE-2768.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.19.0
Fixed in https://gitbox.apache.org/repos/asf?p=calcite.git;a=commit;h=b54f6de9d7f87e9853fc9ec01b586555a089b913
> PlannerTest ignores top-level order by clause (~RootRel.collation)
> ------------------------------------------------------------------
>
> Key: CALCITE-2768
> URL: https://issues.apache.org/jira/browse/CALCITE-2768
> Project: Calcite
> Issue Type: Test
> Components: core
> Affects Versions: 1.18.0
> Reporter: Vladimir Sitnikov
> Assignee: Vladimir Sitnikov
> Priority: Major
> Fix For: 1.19.0
>
>
> {code:java} RelTraitSet traitSet = planner.getEmptyTraitSet()
> .replace(EnumerableConvention.INSTANCE);
> {code}
> should be replaced with
> {code:java} RelTraitSet traitSet = convert.getTraitSet()
> .replace(EnumerableConvention.INSTANCE);
> {code}
> Otherwise PlannerTest asks Planner to produce "empty collation" even in case Root relation has order by.
> See also "how does SortRemoveRule work?" in the mailing list.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)