Support Questions

Find answers, ask questions, and share your expertise

Define variables in Impala

avatar
Explorer

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

1 ACCEPTED SOLUTION
4 REPLIES 4

avatar
Contributor

avatar
Explorer

Thanks!

avatar
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

avatar
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.



Regards,

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: