Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

How to set variables in Impala scripts

avatar
Explorer

Hi,

I'm testing some queries in Hive, and now I would like to do the same in Impala, but I don't find the way to set variables for the scripts.
For example, for Hive I do: 

hive -hiveconf DATE=1948 -f query.sql

How can I do something similar with Impala? The idea is to use the same query file.

 I'm using CDH4.4.0 with Impala 1.1.1.

 

Thanks

Who agreed with this topic