Use ORC Storage with Pig

This section presents simple examples for using Hive ORC storage. Use the grunt shell in Pig to execute the commands. For more details, see the Pig documentation.

ORC is typically used to read (load) and write (store) data as follows:

<VAR_NAME> = load '/path/to/orc/formatted/file' using OrcStorage(); 
store <VAR_NAME> into '/path/to/output/orc/file' using OrcStorage('');