ilovesoup / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

InlineVariablesRule does not traverse subplans #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found that InlineVariablesRule does not look inside subplans and only inlines 
variables that are at the top most level of the tree.

See user thread for more information 
https://groups.google.com/forum/?fromgroups=#!topic/hyracks-users/0hQnFReB4Wc

What is the expected output? What do you see instead?
All variable in the query plan should be considered for in the inline rule.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ecarm...@ucr.edu on 26 Mar 2013 at 6:33

GoogleCodeExporter commented 9 years ago
I wanted to test to see if this fixed my issue with my other rewrite rule. Here 
is a patch that descends into nested plans as part of the inline variable rule. 
It includes some formatting changes for extra spaces found at the end of lines.
Hope this helps get this issue resolved.

Original comment by ecarm...@ucr.edu on 27 Mar 2013 at 8:40

Attachments:

GoogleCodeExporter commented 9 years ago
Issue can be resolved by creating a new inline policy suggested in issue #99.

Original comment by ecarm...@ucr.edu on 12 Apr 2013 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by ecarm...@ucr.edu on 20 Apr 2013 at 12:05