fengyue-xve commented on code in PR #2623:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2623#discussion_r4291347845
##########
tests/sqlparser_common.rs:
##########
@@ -16347,6 +16347,46 @@ fn overflow() {
assert_eq!(statement.to_string(), sql);
}
+#[test]
+fn long_set_operation_chain_display_does_not_stack_overflow() {
+ // `SetExpr`'s `Display` recurses once per branch of a set-operation chain.
Review Comment:
Done in 874616e5 — trimmed the comments down to the small-stack rationale
and the iterative-teardown note. Thanks!
--
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]