You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/18 15:17:51 UTC

[GitHub] [arrow-datafusion] andygrove opened a new issue, #3881: Multiple projections added with multiple optimizer passes

andygrove opened a new issue, #3881:
URL: https://github.com/apache/arrow-datafusion/issues/3881

   **Describe the bug**
   
   Running the optimizer multiple times inserts redundant projections
   
   ```
   Projection: SUM(lineitem.l_extendedprice * lineitem.l_discount) AS revenue
     Aggregate: groupBy=[[]], aggr=[[SUM(lineitem.l_extendedprice * lineitem.l_discount)]]
       Projection: lineitem.l_extendedprice, lineitem.l_discount
         Projection: lineitem.l_extendedprice, lineitem.l_discount
           Projection: lineitem.l_extendedprice, lineitem.l_discount
             Projection: lineitem.l_extendedprice, lineitem.l_discount
               Projection: lineitem.l_extendedprice, lineitem.l_discount
   ```
   
   **To Reproduce**
   Run `cargo test` with https://github.com/apache/arrow-datafusion/pull/3880
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] andygrove closed issue #3881: `projection_push_down` adds duplicate projections with multiple passes

Posted by GitBox <gi...@apache.org>.
andygrove closed issue #3881: `projection_push_down` adds duplicate projections with multiple passes
URL: https://github.com/apache/arrow-datafusion/issues/3881


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] andygrove commented on issue #3881: `projection_push_down` adds duplicate projections with multiple passes

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #3881:
URL: https://github.com/apache/arrow-datafusion/issues/3881#issuecomment-1284148655

   Fixed in https://github.com/apache/arrow-datafusion/pull/3880


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org