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/30 17:20:34 UTC

[GitHub] [arrow-datafusion] andygrove commented on issue #1434: Query with 100 OR conditions overflows stack

andygrove commented on issue #1434:
URL: https://github.com/apache/arrow-datafusion/issues/1434#issuecomment-1296307178

   I have seen other query engines introduce specialized versions of some expressions to handle this issue. For example, we could use something like this to represent many expressions connected with `or`.
   
   ```rust
   struct Or {
     expr: Vec[Expr]
   }
   ```
   
   We could maybe generalize to:
   
   ```rust
   struct ChainedExpr {
     op: Operator,
     expr: Vec[Expr]
   }
   ```


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