title: how to insert uniontype in hive
body: <p>I read the famous example about union type in hive</p>
  
  <pre><code>CREATE TABLE union_test(foo UNIONTYPE&lt;int, double, array&lt;string&gt;, struct&lt;a:int,b:string&gt;&gt;);
  SELECT foo FROM union_test;
  
  {0:1}
  {1:2.0}
  {2:["three","four"]}
  {3:{"a":5,"b":"five"}}
  {2:["six","seven"]}
  {3:{"a":8,"b":"eight"}}
  {0:9}
  </code></pre>
  
  <p>Ok.. great.
  what is the syntax in hive sql to insert these lines ?
  I tried insert into union_test values (1.0)
  SemanticException [Error 10044]: Line 1:12 Cannot insert into target table because column number/types are different 'union_test': Cannot convert column 0 from string to uniontype,struct>.</p>
  
  <p>On the other hand, if I create one table with a double, how can I feed it with union_test table ?</p>
  
  <p>Surely there is a tip.
  Thanks</p>