[
https://issues.apache.org/jira/browse/PIG-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906837#comment-14906837
]
Anthony Hsu commented on PIG-3317:
----------------------------------
Just for reference, to disable all optimizations, use:
{code}
set pig.optimizer.rules.disabled 'all';
{code}
> disable optimizations via pig properties
> ----------------------------------------
>
> Key: PIG-3317
> URL: https://issues.apache.org/jira/browse/PIG-3317
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.12.0
> Reporter: Travis Crawford
> Assignee: Travis Crawford
> Attachments: PIG-3317_disable_opts.1.patch,
> PIG-3317_disable_opts.2.patch, PIG-3317_disable_opts.3.patch,
> PIG-3317_disable_opts.4.patch
>
>
> Pig provides a number of optimizations which are described at
> [http://pig.apache.org/docs/r0.11.1/perf.html#optimization-rules]. As is
> described in the docs, all or specific optimizations can be disabled via the
> command-line.
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)