liukun4515 commented on issue #3557:
URL: 
https://github.com/apache/arrow-datafusion/issues/3557#issuecomment-1259144527

   I go through code of trait `ExprRewritable`, how to rewrite the `subquery` 
for the sub query expr like below:
   
   ```
   Expr::InSubquery {
                   expr,
                   subquery,
                   negated,
               } => Expr::InSubquery {
                   expr: rewrite_boxed(expr, rewriter)?,
                   subquery,
                   negated,
               },
   ```
   
   Above code just rewrite the expr, and don't rewrite the sub query plan, why 
not rewrite the subquery plan with its exprs?
   cc @andygrove 
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to