PigReuse: A Reuse-based Optimizer for Pig Latin - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Technical Report) Year : 2016

PigReuse: A Reuse-based Optimizer for Pig Latin


Pig Latin is a popular language which is widely used for parallel processing of massive data sets. Currently, subexpressions occurring repeatedly in Pig Latin scripts are executed as many times as they appear, and the current Pig Latin optimizer does not identify reuse opportunities. We present a novel optimization approach aiming at identifying and reusing repeated subexpressions in Pig Latin scripts. Our optimization algorithm, named PigReuse, operates on a particular algebraic representation of Pig Latin scripts. PigReuse identifies subexpression merging opportunities, selects the best ones to execute based on a cost function, and reuses their results as needed in order to compute exactly the same output as the original scripts. Our experiments demonstrate the effectiveness of our approach.
Fichier principal
Vignette du fichier
pigreuse-technical-report.pdf (876.45 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01353891 , version 1 (18-08-2016)


  • HAL Id : hal-01353891 , version 1


Jesús Camacho-Rodríguez, Dario Colazzo, Melanie Herschel, Ioana Manolescu, Soudip Roy Chowdhury. PigReuse: A Reuse-based Optimizer for Pig Latin. [Technical Report] Inria Saclay. 2016. ⟨hal-01353891⟩
395 View
401 Download


Gmail Mastodon Facebook X LinkedIn More