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 2021/04/26 11:24:52 UTC

[GitHub] [arrow-rs] alamb commented on issue #56: [DataFusion] Implement optimizer rule to remove redundant projections

alamb commented on issue #56:
URL: https://github.com/apache/arrow-rs/issues/56#issuecomment-826757642


   Comment from Neville Dipale(nevi_me) @ 2020-09-25T17:29:08.891+0000:
   <pre>[~andygrove]  [~jorgecarleitao] [~alamb]  do you know if this is resolved? There's been a lot of improvements to the optimizer, so checking if they perhaps included this.</pre>
   
   Comment from Jorge Leitão(jorgecarleitao) @ 2020-09-25T17:35:05.272+0000:
   <pre>IMO this is still open. It is a cool task, though. A simple test is something along the lines of:
   {code:java}
   df = ctx.table("t")?;
   df = df.select(vec![col("a")])?;
   df = df.select(vec![col("a"), col("b") + 1])?;
   
   let plan = df.to_logical_plan()
   // plan must contain a single projection
   {code}</pre>


-- 
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.

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