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 2015/02/08 09:56:42 UTC

[jira] [Closed] (CALCITE-465) Remove OneRow and Empty relational expressions; Values will suffice

     [ https://issues.apache.org/jira/browse/CALCITE-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde closed CALCITE-465.
-------------------------------

Closing now that 1.0.0-incubating has been released.

> 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
>             Fix For: 1.0.0-incubating
>
>
> 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)