mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
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:
parent
0adec33b94
commit
3c8fd74804
18 changed files with 3092 additions and 399 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue