You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Vivek Padmanabhan (JIRA)" <ji...@apache.org> on 2011/08/16 09:58:27 UTC
[jira] [Created] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Couldnt find documentation for ColumnMapKeyPrune optimization rule
------------------------------------------------------------------
Key: PIG-2221
URL: https://issues.apache.org/jira/browse/PIG-2221
Project: Pig
Issue Type: Bug
Components: documentation
Affects Versions: 0.8.1
Reporter: Vivek Padmanabhan
There are no documentations for some of the Optimization Rules,
For ex; ColumnMapKeyPrune
in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
And moreover I believe the documentaion should be saying how to disable these rules using -t option.
It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai reassigned PIG-2221:
-------------------------------
Assignee: Corinne Chandel (was: Daniel Dai)
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Corinne Chandel
> Fix For: 0.9.1
>
> Attachments: PIG-2221-help.patch
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Corinne Chandel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corinne Chandel updated PIG-2221:
---------------------------------
Status: Patch Available (was: Open)
Apply patch to Trunk and Branch-9.
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Corinne Chandel
> Fix For: 0.9.1
>
> Attachments: PIG-2221-help.patch, pig-2221.patch
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-2221:
--------------------------------
Fix Version/s: 0.9.1
Assignee: Daniel Dai
Hi Daniel,
Could you provide information about missing optimization rules and then assign the ticket to Corinne, thanks!
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Daniel Dai
> Fix For: 0.9.1
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086496#comment-13086496 ]
Daniel Dai commented on PIG-2221:
---------------------------------
There are couple of places need to change in http://pig.apache.org/docs/r0.9.0/perf.html#optimization-rules. Here is the summary:
1. I'd like to drop mandatory rules (ImplicitSplitInserter, StreamOptimizer, TypeCastInserter), since user don't have control over it. It also involves lots of implementation details and hard to explain. Or we can make a separate section for it. Thoughts?
2. Change name of some rules to match command line switch:
OpLimitOptimizer -> LimitOptimizer
LogicalExpressionSimplifier -> FilterLogicExpressionSimplifier
PushDownExplodes -> PushDownForEachFlatten
3. Change the order of rules to match actual running order
4. Add missing rules: SplitFilter, MergeFilter, ColumnMapKeyPrune, AddForEach, GroupByConstParallelSetter
5. Minor change in description of FilterLogicExpressionSimplifier to indicate this only optimize the filter expression
Since there are quite a few change, I put together a wiki page to show how the section look like after change: https://cwiki.apache.org/confluence/display/PIG/Optimization+Rules
Also attach a patch to align the help text with the document.
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Daniel Dai
> Fix For: 0.9.1
>
> Attachments: PIG-2221-help.patch
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-2221:
----------------------------
Attachment: PIG-2221-help.patch
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Daniel Dai
> Fix For: 0.9.1
>
> Attachments: PIG-2221-help.patch
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Corinne Chandel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corinne Chandel updated PIG-2221:
---------------------------------
Attachment: pig-2221.patch
Includes fixes for (1) optimzation rules (perf.xml) and (2) required updates to the Pig Index (pig-index.xml)
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Corinne Chandel
> Fix For: 0.9.1
>
> Attachments: PIG-2221-help.patch, pig-2221.patch
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2221) Couldnt find documentation for
ColumnMapKeyPrune optimization rule
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-2221:
----------------------------
Resolution: Fixed
Fix Version/s: 0.10
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Both pig-2221.patch and PIG-2221-help.patch have been committed to trunk and 0.9 branch.
> Couldnt find documentation for ColumnMapKeyPrune optimization rule
> ------------------------------------------------------------------
>
> Key: PIG-2221
> URL: https://issues.apache.org/jira/browse/PIG-2221
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.8.1
> Reporter: Vivek Padmanabhan
> Assignee: Corinne Chandel
> Fix For: 0.9.1, 0.10
>
> Attachments: PIG-2221-help.patch, pig-2221.patch
>
>
> There are no documentations for some of the Optimization Rules,
> For ex; ColumnMapKeyPrune
> in http://pig.apache.org/docs/r0.8.1/piglatin_ref1.html#Optimization+Rules
> And moreover I believe the documentaion should be saying how to disable these rules using -t option.
> It would be nice if the documentation could talk of some uses cases where it makes sense to disable the optimization rule.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira