Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 23c4922

Browse files
committedNov 24, 2024·
update test to avoid overflow
1 parent 1f3d514 commit 23c4922

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎tests/sqlparser_snowflake.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -2762,7 +2762,9 @@ fn parse_view_column_descriptions() {
27622762

27632763
#[test]
27642764
fn test_parentheses_overflow() {
2765-
let max_nesting_level: usize = 30;
2765+
// TODO: increase / improve after we fix the recursion limit
2766+
// for real (see https://github.com/apache/datafusion-sqlparser-rs/issues/984)
2767+
let max_nesting_level: usize = 25;
27662768

27672769
// Verify the recursion check is not too wasteful... (num of parentheses - 2 is acceptable)
27682770
let slack = 2;

0 commit comments

Comments
 (0)
Please sign in to comment.