You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/07/11 13:00:04 UTC
[jira] [Created] (CALCITE-2410) Enable ProjectSetOpTransposeRule
for UNION (distinct) SetOp operator
Vitalii Diravka created CALCITE-2410:
----------------------------------------
Summary: Enable ProjectSetOpTransposeRule for UNION (distinct) SetOp operator
Key: CALCITE-2410
URL: https://issues.apache.org/jira/browse/CALCITE-2410
Project: Calcite
Issue Type: Improvement
Components: core
Affects Versions: 1.16.0
Reporter: Vitalii Diravka
Assignee: Vitalii Diravka
Fix For: 1.17.0
Currently {{ProjectSetOpTransposeRule}} rule can transpose UnionAll SetOp and Project RelNodes. It disabled for Union (distinct) SetOp operator.
{code}
// cannot push project past a distinct
if (!setOp.all) {
return;
}
{code}
After removing this check the rule works fine and transposes Union (distinct) SetOp and Project RelNodes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)