Hi Yash, ML_EVALUATE itself will be an `TableAggregateFunction`. We will only provide one implementation in Flink which will be used in codegen. Only ML_PREDICT function implementation can be based on providers. Flink will also provide a default implementation for it.
Thanks, Hao On Mon, May 5, 2025 at 8:22 AM Yash Anand <yan...@confluent.io.invalid> wrote: > Hi Hao, > > Thanks for the proposal, these are really interesting features to extend > Flink ML use case. > > +1 for the proposal. > > I just have one question, since you plan to extend > SqlMlFunctionTableFunction for both ML functions builtin registrations, > will ML_EVALUATE be an aggregate function or Table function? > > Thanks, > Yash Anand > > On Mon, May 5, 2025 at 4:18 AM Piotr Nowojski <pnowoj...@apache.org> > wrote: > > > Hi, > > > > sounds like an interesting feature! > > > > Best, > > Piotrek > > > > wt., 29 kwi 2025 o 03:52 Shengkai Fang <fskm...@gmail.com> napisał(a): > > > > > Hi, Hao. > > > > > > Thanks for your proposal about ML related functions. This FLIP will > help > > > others to implement their own model provider. > > > > > > +1 for the proposal. > > > > > > Best, > > > Shengkai > > > > > > Hao Li <h...@confluent.io.invalid> 于2025年4月29日周二 07:22写道: > > > > > > > Hi All, > > > > > > > > I would like to start a discussion about FLIP-525 [1]: Model > > ML_PREDICT, > > > > ML_EVALUATE Implementation Design. This FLIP is co-authored with > > Shengkai > > > > Fang. > > > > > > > > This FLIP is a follow up of FLIP-437 [2] to propose the > implementation > > > > design for ML_PREDICT and ML_EVALUATE function which were introduced > in > > > > FLIP-437. > > > > > > > > For more details, see FLIP-525 [1]. Looking forward to your feedback. > > > > > > > > > > > > [1] > > > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/FLINK/FLIP-525%3A+Model+ML_PREDICT%2C+ML_EVALUATE+Implementation+Design > > > > [2] > > > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/FLINK/FLIP-437%3A+Support+ML+Models+in+Flink+SQL > > > > > > > > > > > > Thanks, > > > > Hao > > > > > > > > > >