Support Questions
Find answers, ask questions, and share your expertise

parameters for beeline

Highlighted

parameters for beeline

Explorer

Hi ..is there a way to pass parameter file to beeline script?

beeline -u hostname -f mytext.txt

3 REPLIES 3
Highlighted

Re: parameters for beeline

There isn't an option to specify a parameter file. However, you can specify parameters on the command line with:

--hivevar var1=value1

Beeline Command Options

Highlighted

Re: parameters for beeline

Super Collaborator

hi, for me doesnt work the parameter tablename but date works why???

--hivevar date=$HIVE_IN tablename=$HIVE_TABLE

Highlighted

Re: parameters for beeline

try placing --hivevar in front of each variable:

--hivevar date=$HIVE_IN --hivevar tablename=$HIVE_TABLE
Don't have an account?