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

Define variables in Impala

New Contributor

Hi experts,


Is it possible to define variables in a query? something like "variable myvariable NUMBER"?


And, is it possible to define queries with "with .... as" like in Oracle db?


Thanks in advance




New Contributor


New Contributor

I still can't find a solution to the issue, the url posts are no longer available, can you help me how to define a date variable in IMPALA ?, From HIVE I can do it, but I needed to define a variable in IMPALA

Community Manager

Hi @Crisj0615, as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.


Vidya Sargur,
Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
; ;