티스토리 뷰

728x90

https://stackoverflow.com/questions/12464636/how-to-set-variables-in-hive-scripts

 

How to set variables in HIVE scripts

I'm looking for the SQL equivalent of SET varname = value in Hive QL I know I can do something like this: SET CURRENT_DATE = '2012-09-16'; SELECT * FROM foo WHERE day >= @CURRENT_DATE But th...

stackoverflow.com

 

728x90
댓글