You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "KeeganJin (via GitHub)" <gi...@apache.org> on 2025/11/18 01:39:51 UTC

Re: [D] How do I create a UDF and enable datafusion to parse it in datafusion rust? [datafusion]

GitHub user KeeganJin closed a discussion: How do I create a UDF and enable datafusion to parse it in datafusion rust?

Hi all, 
I want to create a UDF  in a stream processing system with the ability to call a ML operator. since I didn't find any support related to that. I wonder if anyone here could help?
The table looks like this: 
`device_id | data`
`1              | data_01`
`2              | data_02`

I want to perform ML operator on the "data" column, which leads me to UDF. The SQL query is like:
`SELECT ML_Operator(data) FROM table`, where the ML_Operator should be the user-defined function. 

I wonder if it is possible in datafusion, and if possible how would the query be parsed? Thanks!


GitHub link: https://github.com/apache/datafusion/discussions/7422

----
This is an automatically sent email for github@datafusion.apache.org.
To unsubscribe, please send an email to: github-unsubscribe@datafusion.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org