You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jiatao Tao (Jira)" <ji...@apache.org> on 2020/11/09 10:18:00 UTC

[jira] [Commented] (CALCITE-4385) Adding optimization to simplify the And/Or condition

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

Jiatao Tao commented on CALCITE-4385:
-------------------------------------

1. (a && b) || (a && b && c && ...) => a && b

2. (a && b && c && ...) || (a && b && d && ...) => a && b && ((c && ...) || (d && ...))

 

1. (a || b || c || ...) && (a || b) => (a || b)

2. (a || b || c || ...) && (a || b || d || ...) => a || b || ((c || ...) && (d || ...))

> Adding optimization to simplify the  And/Or condition
> -----------------------------------------------------
>
>                 Key: CALCITE-4385
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4385
>             Project: Calcite
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Jiatao Tao
>            Assignee: Jiatao Tao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)