You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/10 14:43:39 UTC

[jira] [Commented] (TAJO-1387) Correct error message for EXISTS clause

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

ASF GitHub Bot commented on TAJO-1387:
--------------------------------------

GitHub user dongjoon-hyun opened a pull request:

    https://github.com/apache/tajo/pull/409

    TAJO-1387: Correct error message for EXISTS clause

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dongjoon-hyun/tajo TAJO-1387

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/409.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #409
    
----
commit baf844973db9a48d61ebbe57281f3b6b227971dd
Author: Dongjoon Hyun <do...@apache.org>
Date:   2015-03-10T13:41:50Z

    TAJO-1387: Correct error message for EXISTS clause

----


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



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