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:14:00 UTC
[jira] [Created] (CALCITE-2768) PlannerTest ignores top-level order
by clause (~RootRel.collation)
Vladimir Sitnikov created CALCITE-2768:
------------------------------------------
Summary: 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
{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)