title: Hive Variable Substitution with function
body: <p>I am trying to to something like the following in Hive</p>
  
  <p>set TODAY="2013-11-04"; //this works</p>
  
  <p>SET TODAY = to_date(from_unixtime(unix_timestamp())); //this does not..</p>
  
  <p>set TODAY;
  TODAY=to_date(from_unixtime(unix_timestamp()))</p>
  
  <p>Any suggestions?</p>