title: oozie - capture date and pass it as hive parameter
body: <p>I need to periodically load files from local file system into hdfs and update hive table partitions. The query for updating the partitions depends on the </p>
  
  <pre><code>timestamps(select * where date = "").
  </code></pre>
  
  <p>Could use Oozie EL but I need todays and yesterday's date.
  Moreover I don't understand how to capture date and pass it as a parameter into hive script.</p>
  
  <p>How do I Do this, any ideas ?</p>