You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/11/14 22:25:34 UTC
[jira] [Created] (CALCITE-465) Remove OneRow and Empty relational
expressions; Values will suffice
Julian Hyde created CALCITE-465:
-----------------------------------
Summary: Remove OneRow and Empty relational expressions; Values will suffice
Key: CALCITE-465
URL: https://issues.apache.org/jira/browse/CALCITE-465
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
The OneRow and Empty relational expressions do not give any descriptive power over a Values relational expression with 1 tuple and 0 tuples, respectively. We should remove them (and their sub-classes).
Now that RelOptRuleOperand can take a Predicate, it is easy to write rules that match a Values that has zero tuples.
Benefits include efficiency (the planning process will creature fewer relational expressions) and rule re-use (rules applicable to Values are now automatically applicable to 1- and 0-row relational expressions).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)