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

Jungtaek Lim commented on SPARK-12497:
--------------------------------------

That is odd, see what is printed for Spark version and Hive version; Spark 
version 2.4.7 & Hive version 1.2.1.spark2. Please double check the directory is 
not mixed up with multiple version, as well as you don't run previous instance 
of thrift server.

> thriftServer does not support semicolon in sql 
> -----------------------------------------------
>
>                 Key: SPARK-12497
>                 URL: https://issues.apache.org/jira/browse/SPARK-12497
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.2
>            Reporter: nilonealex
>            Priority: Major
>
> 0: jdbc:hive2://192.168.128.130:14005> SELECT ';' from tx_1 limit 1 ;
> Error: org.apache.spark.sql.AnalysisException: cannot recognize input near 
> '<EOF>' '<EOF>' '<EOF>' in select clause; line 1 pos 8 (state=,code=0)
> 0: jdbc:hive2://192.168.128.130:14005> 
> 0: jdbc:hive2://192.168.128.130:14005> select '\;' from tx_1 limit 1 ; 
> Error: org.apache.spark.sql.AnalysisException: cannot recognize input near 
> '<EOF>' '<EOF>' '<EOF>' in select clause; line 1 pos 9 (state=,code=0)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to