You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2016/09/02 06:13:20 UTC

[jira] [Commented] (CALCITE-1365) Introduce UnionPullUpConstantsRule

    [ https://issues.apache.org/jira/browse/CALCITE-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457654#comment-15457654 ] 

Jesus Camacho Rodriguez commented on CALCITE-1365:
--------------------------------------------------

There was a wrong method call in the md provider : it should have been _isAlwaysTrue_, which is the case when we do not need to add the pred to the inferred list (it is that way in Hive, I think it ended up changed when I copied/pasted the code).

Fix up in : http://git-wip-us.apache.org/repos/asf/calcite/commit/317802d

> Introduce UnionPullUpConstantsRule 
> -----------------------------------
>
>                 Key: CALCITE-1365
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1365
>             Project: Calcite
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 1.9.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Julian Hyde
>             Fix For: 1.9.0
>
>
> Create a rule that pulls up constants through a Union operator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)