title: how to add a permanent function in hive?
body: <p>Here is the problem: If I declare a <code>temporary function</code> in hive like this:</p>
  
  <pre><code>add jar /home/taobao/oplog/hivescript/my_udf.jar;
  create temporary function getContentValue as 'com.my.udf.GetContentValue';
  </code></pre>
  
  <p>It'll works fine with function <code>getContentValue</code> <strong>in this hive session</strong>. But what I want is not having to add jar as well as create temporary function every time I start a hive session. That is to say, make the function <strong>permanent</strong>. </p>
  
  <p>Is there any solutions to this problem?</p>