hadoop - Create var in hive query running in Ozzie -


how create variable in hive query running in oozie(hue) , pass variable in next step of oozie job example email job or shell?

i try :

set q1=select sum(br) auth; 

accessing q1 in email job :${hiveconf:q1} throw error :

el_error    encountered ": q1 }", expected 1 of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", ":", <identifier>, "(", "?"] 

maybe wrong , there different solution? or maybe itss hue error?


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -