hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trainee Bingo <>
Subject Passing parameters to Beeline
Date Wed, 13 Jan 2016 12:43:59 GMT
Hi All,

Hope all are enjoying working in hive !!!

I am having one question regarding hive and beeline:

I am passing parameters to hive script using "-d".
    Eg: *hive -d table_name -f emp.hql*

*     emp.hql:*
        CREATE EXTERNAL TABLE ${table_name}


                  ID STRING,

                  NAME STRING

             ) ..............

It works perfectly fine.

But when I switch to beeline, beeline doesn't support "-d". Is there any
way so that beeline accepts parameters in form of "-d".

View raw message