You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Seungun Choe (JIRA)" <ji...@apache.org> on 2013/10/13 13:50:41 UTC

[jira] [Commented] (TAJO-249) Wrong evaluation case of boolean expression

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

Seungun Choe commented on TAJO-249:
-----------------------------------

We are facing the same problem as above.
I think this problem's cause is the priority  parentheses.

> Wrong evaluation case of boolean expression
> -------------------------------------------
>
>                 Key: TAJO-249
>                 URL: https://issues.apache.org/jira/browse/TAJO-249
>             Project: Tajo
>          Issue Type: Bug
>          Components: planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.2-incubating
>
>
> The below boolean expressions causes wrong evaluation results.
> {code}
> WHERE date_a BETWEEN 20130705 AND 20130715
>   AND ((date_b BETWEEN 20100101 AND 20120601) OR date_b > 20130715)
>   AND (date_c < 20120601 OR date_c > 20130715)
>   AND date_d > 20130715
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)