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 then I get this error:
character '@' not supported here