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

Prafulla T commented on TAJO-401:
---------------------------------

I see that Tajo already supports <> operator. Is this issue about just adding 
alias operator for <> ?
Also Can someone explain me example query ?

 select * from table1 != 'a';

 Which column does the predicate apply to? OR should it be like follows?

 select * from table1 where col1 != 'a';

> Support '!=' operator
> ---------------------
>
>                 Key: TAJO-401
>                 URL: https://issues.apache.org/jira/browse/TAJO-401
>             Project: Tajo
>          Issue Type: Bug
>          Components: parser
>            Reporter: Jaehwa Jung
>              Labels: newbie
>             Fix For: 0.9.0
>
>
> If I write '!=' operator at where clause, TajoCli made a exception as follows:
> {code:xml}
> tajo> select * from table1 != 'a';
> Exception in thread "main" java.lang.IllegalArgumentException: != 'a';: event 
> not found
>       at jline.console.ConsoleReader.expandEvents(ConsoleReader.java:734)
>       at jline.console.ConsoleReader.finishBuffer(ConsoleReader.java:604)
>       at jline.console.ConsoleReader.accept(ConsoleReader.java:1912)
>       at jline.console.ConsoleReader.readLine(ConsoleReader.java:2537)
>       at jline.console.ConsoleReader.readLine(ConsoleReader.java:2162)
>       at org.apache.tajo.cli.TajoCli.runShell(TajoCli.java:192)
>       at org.apache.tajo.cli.TajoCli.main(TajoCli.java:721)
> {code}



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

Reply via email to