You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/07/24 03:20:39 UTC

[jira] [Updated] (HIVE-7475) Beeline requires newline at the end of each query in a file

     [ https://issues.apache.org/jira/browse/HIVE-7475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navis updated HIVE-7475:
------------------------

    Release Note:   (was: Seemed fixed by HIVE-6684 or HIVE-6561 already. Will be included in next version.)

> Beeline requires newline at the end of each query in a file
> -----------------------------------------------------------
>
>                 Key: HIVE-7475
>                 URL: https://issues.apache.org/jira/browse/HIVE-7475
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.1
>            Reporter: thomas norden
>            Priority: Trivial
>             Fix For: 0.14.0
>
>
> When using the -f option on beeline its required to have a newline at the end of each query otherwise the connection is closed before the query is run.
> {code}
> $ cat test.hql
> show databases;%
> $ beeline -u jdbc:hive2://localhost:10000 --incremental=true -f test.hql
> scan complete in 3ms
> Connecting to jdbc:hive2://localhost:10000
> Connected to: Apache Hive (version 0.13.1)
> Driver: Hive JDBC (version 0.13.1)
> Transaction isolation: TRANSACTION_REPEATABLE_READ
> Beeline version 0.13.1 by Apache Hive
> 0: jdbc:hive2://localhost:10000> show databases;Closing: 0: jdbc:hive2://localhost:10000
> {code}



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