Implement Spanned to retrieve source locations on AST nodes (#1435)

Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
Mark-Oliver Junge 2024-11-26 17:22:30 +01:00 committed by GitHub
parent 0adec33b94
commit 3c8fd74804
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 3092 additions and 399 deletions

View file

@ -2762,7 +2762,9 @@ fn parse_view_column_descriptions() {
#[test]
fn test_parentheses_overflow() {
let max_nesting_level: usize = 30;
// TODO: increase / improve after we fix the recursion limit
// for real (see https://github.com/apache/datafusion-sqlparser-rs/issues/984)
let max_nesting_level: usize = 25;
// Verify the recursion check is not too wasteful... (num of parentheses - 2 is acceptable)
let slack = 2;