alamb commented on issue #9140: URL: https://github.com/apache/arrow-datafusion/issues/9140#issuecomment-1937700036
I think it is a heuristic that avoids pathalogical cases when there are large numbers constants in the `IN` list (sometimes machine generated SQL can have 1000s of elements) https://github.com/apache/arrow-datafusion/blob/afb169cd069e0227fb0ef6d39f44d5eabbdc21a2/datafusion/optimizer/src/simplify_expressions/inlist_simplifier.rs#L53-L59 -- 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]
