You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Suraj Nayak <sn...@gmail.com> on 2016/01/19 02:19:06 UTC
Beeline hivevar value with spaces and symbols
Hi All,
Am trying to pass a where condition as variable to hive hql via beeline.
- --hivevar somekey1='"someValue"' works well,
- --hivevar somekey2='"colum1<=someValue"' do not work. Prints the
Beeline usage.
How can I escape equal to (=) ?
Any help or pointers to solve is appreciated.
--
Thanks
Suraj Nayak M
Re: Beeline hivevar value with spaces and symbols
Posted by Suraj Nayak <sn...@gmail.com>.
++Hive Dev
On Mon, Jan 18, 2016 at 5:19 PM, Suraj Nayak <sn...@gmail.com> wrote:
> Hi All,
>
> Am trying to pass a where condition as variable to hive hql via beeline.
>
>
> - --hivevar somekey1='"someValue"' works well,
> - --hivevar somekey2='"colum1<=someValue"' do not work. Prints the
> Beeline usage.
>
> How can I escape equal to (=) ?
>
> Any help or pointers to solve is appreciated.
>
> --
> Thanks
> Suraj Nayak M
>
--
Thanks
Suraj Nayak M
Re: Beeline hivevar value with spaces and symbols
Posted by Suraj Nayak <sn...@gmail.com>.
++Hive Dev
On Mon, Jan 18, 2016 at 5:19 PM, Suraj Nayak <sn...@gmail.com> wrote:
> Hi All,
>
> Am trying to pass a where condition as variable to hive hql via beeline.
>
>
> - --hivevar somekey1='"someValue"' works well,
> - --hivevar somekey2='"colum1<=someValue"' do not work. Prints the
> Beeline usage.
>
> How can I escape equal to (=) ?
>
> Any help or pointers to solve is appreciated.
>
> --
> Thanks
> Suraj Nayak M
>
--
Thanks
Suraj Nayak M