spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herman van Hovell (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SPARK-10226) Error occured in SparkSQL when using !=
Date Tue, 25 Aug 2015 15:11:45 GMT

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

Herman van Hovell edited comment on SPARK-10226 at 8/25/15 3:11 PM:
--------------------------------------------------------------------

Apparently most databases support this: http://stackoverflow.com/questions/723195/should-i-use-or-for-not-equal-in-tsql

I wouldn't call this a bug though. It is more of an improvement.


was (Author: hvanhovell):
Apparently most databases support this: http://stackoverflow.com/questions/723195/should-i-use-or-for-not-equal-in-tsql

> Error occured in SparkSQL when using  !=
> ----------------------------------------
>
>                 Key: SPARK-10226
>                 URL: https://issues.apache.org/jira/browse/SPARK-10226
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: wangwei
>
> DataSource:  
>                     src/main/resources/kv1.txt
> SQL: 
>           1. create table src(id string, name string);
>           2. load data local inpath '${SparkHome}/examples/src/main/resources/kv1.txt'
into table src;
>           3. select count( * ) from src where id != '0';
> [ERROR] Could not expand event
> java.lang.IllegalArgumentException: != 0;: event not found
> 	at jline.console.ConsoleReader.expandEvents(ConsoleReader.java:779)
> 	at jline.console.ConsoleReader.finishBuffer(ConsoleReader.java:631)
> 	at jline.console.ConsoleReader.accept(ConsoleReader.java:2019)
> 	at jline.console.ConsoleReader.readLine(ConsoleReader.java:2666)
> 	at jline.console.ConsoleReader.readLine(ConsoleReader.java:2269)
> 	at org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver$.main(SparkSQLCLIDriver.scala:231)
> 	at org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.main(SparkSQLCLIDriver.scala)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:666)
> 	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:178)
> 	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:203)
> 	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:118)
> 	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message