title: Pig - reading Hive table stored as Avro
body: <p>I have created a hive table stored with Avro file format. I am trying to load same hive table using below Pig commands</p>
  
  <pre><code>pig -useHCatalog;
  hive_avro = LOAD 'hive_avro_table' using org.apache.hive.hcatalog.pig.HCatLoader();
  </code></pre>
  
  <p>I am getting " failed to read from hive_avro_table " error when I tried to display "hive_avro" using DUMP command.</p>
  
  <p>Please help me how to resolve this issue. Thanks in advance</p>