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

Hyunsik Choi commented on TAJO-830:
-----------------------------------

This issue got +1 on github PR.
https://github.com/apache/tajo/pull/12

I've just committed it to master branch.

> Some filter conditions with a SUBQUERY are removed by optimizer.
> ----------------------------------------------------------------
>
>                 Key: TAJO-830
>                 URL: https://issues.apache.org/jira/browse/TAJO-830
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Hyoungjun Kim
>            Assignee: Hyoungjun Kim
>             Fix For: 0.9.0
>
>         Attachments: TAJO-830.patch
>
>
> In the case of a next query, "col3 like '1993-11-24%';" condition removed by 
> optimized. 
> {code:sql}
> select a.*
> from (
>     select 
>       L_RETURNFLAG as col1, 
>       L_EXTENDEDPRICE as col2, 
>       concat(L_RECEIPTDATE, L_LINESTATUS) as col3 
>     from lineitem
> ) a
> where col2 > 0 && col3 like '1993-11-24%';
> {code}



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

Reply via email to