title: Running Pig query over data stored in Hive
body: <p>I would like to know how to run Pig queries stored in Hive format. I have configured Hive to store compressed data (using this tutorial <a href="http://wiki.apache.org/hadoop/Hive/CompressedStorage" rel="nofollow noreferrer">http://wiki.apache.org/hadoop/Hive/CompressedStorage</a>).  </p>
  
  <p>Before that I used to just use normal Pig load function with Hive's delimiter (^A). But now Hive stores data in sequence files with compression. Which load function to use?</p>
  
  <p>Note that don't need close integration like mentioned here: <a href="https://stackoverflow.com/questions/3801325/using-hive-with-pig">Using Hive with Pig</a>, just what load function to use to read compressed sequence files generated by Hive.</p>
  
  <p>Thanks for all the answers.</p>