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

Dongjoon Hyun updated TAJO-1387:
--------------------------------
    Description: 
TSQL prints a wrong error message related `InPredicate` when EXISTS clause is 
used like following statement.

---
default> select * from t1 where exists (select * from t1);
ERROR: Can not set boolean field org.apache.tajo.algebra.InPredicate.not to 
org.apache.tajo.algebra.ExistsPredicate
---

It should be like the following.
---
default> select * from t1 where exists (select * from t1);
select * from t1 where exists (select * from t1);
ERROR: Cannot support EXISTS clause yet
---

  was:
TSQL prints a wrong error message related `InPredicate` when EXISTS clause is 
used like following statement.

---
default> select * from t where exists (select * from t);
ERROR: Can not set boolean field org.apache.tajo.algebra.InPredicate.not to 
org.apache.tajo.algebra.ExistsPredicate
---

It should be like the following.
---
default> select * from t1 where exists (select * from t1);
select * from t1 where exists (select * from t1);
ERROR: Cannot support EXISTS clause yet
---


> Correct error message for EXISTS clause
> ---------------------------------------
>
>                 Key: TAJO-1387
>                 URL: https://issues.apache.org/jira/browse/TAJO-1387
>             Project: Tajo
>          Issue Type: Bug
>          Components: operator/expression
>         Environment: Tajo 0.11.0-SNAPSHOT (rev. 69fd8d2 source checksum 
> 2d2e9d2 compiled by dongjoon 2015-03-10T13:27Z)
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>         Attachments: TAJO-1387.patch
>
>
> TSQL prints a wrong error message related `InPredicate` when EXISTS clause is 
> used like following statement.
> ---
> default> select * from t1 where exists (select * from t1);
> ERROR: Can not set boolean field org.apache.tajo.algebra.InPredicate.not to 
> org.apache.tajo.algebra.ExistsPredicate
> ---
> It should be like the following.
> ---
> default> select * from t1 where exists (select * from t1);
> select * from t1 where exists (select * from t1);
> ERROR: Cannot support EXISTS clause yet
> ---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to