Re: [DataFusion] Proposal to change how UDFs are called in DataFrame API

2020-08-25 Thread Andrew Lamb
I think this is a good proposal and I support its implementation, for whatever that is worth On Sun, Aug 23, 2020 at 12:17 PM Jorge Cardoso Leitão < jorgecarlei...@gmail.com> wrote: > Hi, > > I came to a limitation that I would like to propose a resolution to. > > TL;DR; currently, users plan UDF

[DataFusion] Proposal to change how UDFs are called in DataFrame API

2020-08-23 Thread Jorge Cardoso Leitão
Hi, I came to a limitation that I would like to propose a resolution to. TL;DR; currently, users plan UDFs calls via a call of the form let e = scalar_functions(“my_udf”, vec![col(“a”)],DataType::Float64)]); df.select(vec![e]) The proposal is to use instead: let f = df.registry(); let e = f.u