You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/16 23:34:08 UTC

[jira] [Resolved] (DRILL-937) Boolean operators should use short-circuit evaluation.

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

Jacques Nadeau resolved DRILL-937.
----------------------------------

    Resolution: Fixed

> Boolean operators should use short-circuit evaluation. 
> -------------------------------------------------------
>
>                 Key: DRILL-937
>                 URL: https://issues.apache.org/jira/browse/DRILL-937
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Execution - Codegen
>            Reporter: Jinfeng Ni
>            Assignee: DrillCommitter
>             Fix For: 1.0.0-BETA1
>
>
> When Drill evaluate a boolean operator ('and', 'or'), it should use the short-circuit evaluation approach : when one branch is sufficient enough to decide the final result, Drill should stop evaluating the other branches.  This should help improve the performance of filter operator, when it contains a complex boolean operator.
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)