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

Sergio Peña commented on HIVE-8182:
-----------------------------------

Do you have the query that is failing? I've been trying to reproduce it, but it 
works fine.

These are the queries I tested:
0: jdbc:hive2://localhost:10000> show    
. . . . . . . . . . . . . . . .>    tables  ;

0: jdbc:hive2://localhost:10000> select * 
. . . . . . . . . . . . . . . .>    from persons ;

> beeline fails when executing multiple-line queries with trailing spaces
> -----------------------------------------------------------------------
>
>                 Key: HIVE-8182
>                 URL: https://issues.apache.org/jira/browse/HIVE-8182
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0, 0.13.1
>            Reporter: Yongzhi Chen
>
> As title indicates, when executing a multi-line query with trailing spaces, 
> beeline reports syntax error: 
> Error: Error while compiling statement: FAILED: ParseException line 1:76 
> extraneous input ';' expecting EOF near '<EOF>' (state=42000,code=40000)
> If put this query in one single line, beeline succeeds to execute it.



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

Reply via email to