Hive vs Pig
From WikiVS, the open comparison website
Both languages have background in set manipulation.
- Pig uses a procedural structure to manipulate sets. E.G., Load this file, apply this function, aggregate and map and save..
- Hive uses a SQL-like approach, with extension of tables mapping them to files for parsing of content before processing. SQL is limited to those operations which can be translated to map-reduce jobs.
Both highly readable. Pig script tends to be shorter for the same functionality.