You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jackwener (via GitHub)" <gi...@apache.org> on 2023/04/21 13:30:16 UTC

[GitHub] [arrow-datafusion] jackwener commented on issue #6086: Code refactor, combine the two rules: DecorrelateWhereExists and DecorrelateWhereIn

jackwener commented on issue #6086:
URL: https://github.com/apache/arrow-datafusion/issues/6086#issuecomment-1517839299

   I think it's a great job.
   
   ExistsSubquery and InSubquery is similar in semantic. some paper already conclude it. Such as: 
   
   AGE IN (SELECT AGE)  --> a.age=b.age[0] OR a.age=b.age[1] OR ... OR a.age=b.age[n]
   Exists (SELECT AGE) --> b.age[0] is not null OR b.age[1] is not null OR ... OR b.age[n] is not null


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