disable optimizations via pig properties

Details

Optimization rules can be disabled with the "pig.optimizer.rules.disabled" pig property, allowing scripts to disable optimizations themselves. As in prior release, optimizations may still be disabled with the "optimizer_off" command-line option.

Optimization rules can be disabled with the "pig.optimizer.rules.disabled" pig property, allowing scripts to disable optimizations themselves. As in prior release, optimizations may still be disabled with the "optimizer_off" command-line option.

Currently the caller of a pig script must know which optimizations to disable when running because that information cannot be set in the script itself. Nor can optimizations be disabled site-wide through pig.properties.

Pig should allow disabling optimizations via properties so that pig scripts themselves can disable optimizations as needed, rather than the caller needing to know what optimizations to disable on the command-line.