-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack overflow in Statement::to_string
for deeply nested expresions
#984
Comments
Thank you @jjbayer -- this would indeed be nice to fix. I do suspect this would be less likely to happen in release builds |
Statement::to_string
Statement::to_string
for deeply nested expresions
@2010YOUY01 made a great point about stack overflow today! @alamb, are you OK if I bring |
@blaginin, apache/datafusion#9375 (comment) / apache/datafusion#13376 (comment) (Issue 1) was also an sqlparser issue, that probably can be fixed with |
It seems that
Statement::to_string
overflows for deep expressions even if the default recursion limit is able to parse the expression without error:Outputs
Version: 0.37.0
The text was updated successfully, but these errors were encountered: