(
sql: &'a str,
dialect: &'a dyn Dialect,
)
| 449 | |
| 450 | #[deprecated(since = "46.0.0", note = "DFParserBuilder")] |
| 451 | pub fn new_with_dialect( |
| 452 | sql: &'a str, |
| 453 | dialect: &'a dyn Dialect, |
| 454 | ) -> Result<Self, DataFusionError> { |
| 455 | DFParserBuilder::new(sql).with_dialect(dialect).build() |
| 456 | } |
| 457 | |
| 458 | /// Parse a sql string into one or [`Statement`]s using the |
| 459 | /// [`GenericDialect`]. |
nothing calls this directly
no test coverage detected