mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
fix for maybe_parse preventing parser from erroring on recursion limit (#1464)
This commit is contained in:
parent
38f1e573fe
commit
8e0d26abb3
19 changed files with 422 additions and 570 deletions
|
@ -24,17 +24,14 @@ use test_utils::*;
|
|||
mod test_utils;
|
||||
|
||||
fn databricks() -> TestedDialects {
|
||||
TestedDialects {
|
||||
dialects: vec![Box::new(DatabricksDialect {})],
|
||||
options: None,
|
||||
}
|
||||
TestedDialects::new(vec![Box::new(DatabricksDialect {})])
|
||||
}
|
||||
|
||||
fn databricks_and_generic() -> TestedDialects {
|
||||
TestedDialects {
|
||||
dialects: vec![Box::new(DatabricksDialect {}), Box::new(GenericDialect {})],
|
||||
options: None,
|
||||
}
|
||||
TestedDialects::new(vec![
|
||||
Box::new(DatabricksDialect {}),
|
||||
Box::new(GenericDialect {}),
|
||||
])
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue