title: Good way to give arguments to execute Hive batch
body: <p>I'm trying to execute Hive files (.hql) in batch mode with some arguments, like this : </p>
  
  <pre><code>hive -hiveconf in_co_societe = 1 in_dt_jour = '2013-01-02 00:00:00.0' -f /home/hduser/Documents/P_THM_CA_RGRP_PRODUITS_JOUR.hql
  </code></pre>
  
  <p>and in my script, i have arguments like this</p>
  
  <pre><code>'${hiveconf:in_co_societe}'                                 
  '${hiveconf:in_dt_jour}'
  </code></pre>
  
  <p>My script is doing a INSERT INTO...SELECT ... FROM.</p>
  
  <p>When i'm giving arguments, there is nothing imported into destination table.</p>
  
  <p>But, when i write the values directly in the script, everything ok, data are imported.</p>
  
  <p>So, what is wrong with my arguments ?</p>
  
  <p>Thanks,</p>