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

Xuefu Zhang commented on HIVE-6045:
-----------------------------------

[~szehon], I believe this (with '&' as separator) used to work fine. Do you 
know what change broke this?

TestBeelineWithArgs used to pass also. I think it makes sense to fix it and 
include it in the test suite?

> Beeline hivevars is broken for more than one hivevar
> ----------------------------------------------------
>
>                 Key: HIVE-6045
>                 URL: https://issues.apache.org/jira/browse/HIVE-6045
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.13.0
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-6045.1.patch, HIVE-6045.patch
>
>
> HIVE-4568 introduced --hivevar flag.  But if you specify more than one 
> hivevar, for example 
> {code}
> beeline --hivevar file1=/user/szehon/file1 --hivevar file2=/user/szehon/file2
> {code}
> then the variables during runtime get mangled to evaluate to:
> {code}
> file1=/user/szehon/file1&file2=/user/szehon/file2
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to