adriangb commented on issue #23264: URL: https://github.com/apache/datafusion/issues/23264#issuecomment-7171935732
We hit this too, with `recursive_protection` on. A flat `OR` chain of 10,000 terms aborts in sqlparser's `impl Spanned for Expr`, called from `SqlToRel::plan_selection`. That impl has no `#[recursive]`. For now we reject ASTs deeper than 1,500 before planning. Would a parser-side bound like the one in https://github.com/apache/datafusion-sqlparser-rs/issues/2909 be an acceptable stopgap? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
