You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "jayzhan211 (via GitHub)" <gi...@apache.org> on 2024/07/05 13:30:46 UTC
Re: [PR] Implement UDF Plan [datafusion]
jayzhan211 commented on code in PR #11263:
URL: https://github.com/apache/datafusion/pull/11263#discussion_r1666797018
##########
datafusion/sql/src/expr/mod.rs:
##########
@@ -813,6 +795,37 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
)))
}
+ fn sql_udf_plan(
+ &self,
+ sql: SQLExpr,
+ schema: &DFSchema,
+ planner_context: &mut PlannerContext,
+ ) -> Result<Expr> {
+ let sql_not_moved = sql.clone();
+ let mut extracted_args = match sql {
Review Comment:
it seems not to be extract specific anymore, we could name it `args`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org