Use ORC Storage with Pig
IMPORTANT This component is deprecated. Hewlett Packard
Enterprise recommends using an alternate product. For more information, see Discontinued Ecosystem Components.
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('');