We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3c6a0 commit 6864d80Copy full SHA for 6864d80
src/context.rs
@@ -445,7 +445,7 @@ impl PySessionContext {
445
.collect::<HashMap<_, _>>();
446
447
let state = self.ctx.state();
448
- let dialect = state.config().options().sql_parser.dialect.as_str();
+ let dialect = state.config().options().sql_parser.dialect.as_ref();
449
450
if !param_strings.is_empty() {
451
query = replace_placeholders_with_strings(&query, dialect, param_strings)?;
src/dataframe.rs
@@ -548,7 +548,7 @@ impl PyDataFrame {
548
self.df
549
.as_ref()
550
.parse_sql_expr(&expr)
551
- .map(|e| PyExpr::from(e))
+ .map(PyExpr::from)
552
.map_err(PyDataFusionError::from)
553
}
554
0 commit comments