tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seungun Choe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-249) Wrong evaluation case of boolean expression
Date Sun, 13 Oct 2013 11:50:41 GMT

    [ 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)

Mime
View raw message