This is an automated email from the ASF dual-hosted git repository.
timsaucer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new 6864d801 Minor build errors (#1325)
6864d801 is described below
commit 6864d8013faa5f222063df61e5b6ff5368c4d252
Author: Tim Saucer <[email protected]>
AuthorDate: Tue Dec 23 13:28:56 2025 -0500
Minor build errors (#1325)
---
src/context.rs | 2 +-
src/dataframe.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/context.rs b/src/context.rs
index 0a04ab39..ad4fc36b 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -445,7 +445,7 @@ impl PySessionContext {
.collect::<HashMap<_, _>>();
let state = self.ctx.state();
- let dialect = state.config().options().sql_parser.dialect.as_str();
+ let dialect = state.config().options().sql_parser.dialect.as_ref();
if !param_strings.is_empty() {
query = replace_placeholders_with_strings(&query, dialect,
param_strings)?;
diff --git a/src/dataframe.rs b/src/dataframe.rs
index f8f3ee8e..0cf03d63 100644
--- a/src/dataframe.rs
+++ b/src/dataframe.rs
@@ -548,7 +548,7 @@ impl PyDataFrame {
self.df
.as_ref()
.parse_sql_expr(&expr)
- .map(|e| PyExpr::from(e))
+ .map(PyExpr::from)
.map_err(PyDataFusionError::from)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]