This is more like macro than variable. Refer to https://github.com/myui/hivemall/blob/master/scripts/ddl/define-macros.hive for some examples/usage.
--Xuefu On Fri, Oct 10, 2014 at 6:21 PM, Martin, Nick <nimar...@pssd.com> wrote: > Hi all, > > Wondering of its possible for me to set a variable via a query. Something > like: > > Set V1= select max(V1) from sometable > > And then use V1 in my query. > > Thx! > > Sent from my iPhone