Re: UDF future

2022-01-23 Thread Ekaterina Dimitrova
CASSANDRA-17280 and CASSANDRA-17281 were opened to cover the work. Thank you On Sun, 23 Jan 2022 at 11:46, Joshua McKenzie wrote: > Lazy consensus seems like a safe path here. > > https://community.apache.org/committers/lazyConsensus.html > > On Sat, Jan 22, 2022 at 4:24 PM Ekaterina Dimitrova

Re: UDF future

2022-01-23 Thread Joshua McKenzie
Lazy consensus seems like a safe path here. https://community.apache.org/committers/lazyConsensus.html On Sat, Jan 22, 2022 at 4:24 PM Ekaterina Dimitrova wrote: > > Hi everyone, > > Thank you for responding to my email. > > Looking at the responses, I guess I should directly open tickets -

Re: UDF future

2022-01-22 Thread Ekaterina Dimitrova
Hi everyone, Thank you for responding to my email. Looking at the responses, I guess I should directly open tickets - one for deprecating in 4.0.2 (just warning and documenting it) and one for the removal/providing interface for trunk? Do we need more formal voting or anything else that I might

Re: UDF future

2022-01-21 Thread Aleksei Zotov
+1 Best Regards, Aleksei Zotov. On Thu, Jan 20, 2022 at 11:52 AM Marcus Eriksson wrote: > +1 > > On Tue, Jan 18, 2022 at 11:30:01AM -0500, Ekaterina Dimitrova wrote: > > Hi everyone, > > > > With the work to add Java 17 support for Cassandra, a new question around > > the future of UDF was

Re: UDF future

2022-01-19 Thread Marcus Eriksson
+1 On Tue, Jan 18, 2022 at 11:30:01AM -0500, Ekaterina Dimitrova wrote: > Hi everyone, > > With the work to add Java 17 support for Cassandra, a new question around > the future of UDF was raised. The scripted UDF was using Nashorn which is > no longer packaged with the JDK. There are options to

Re: UDF future

2022-01-19 Thread Joshua McKenzie
+1 to deprecate, drop, add hooks. On Wed, Jan 19, 2022 at 2:22 PM Brandon Williams wrote: > Yes, just javascript. > > On Wed, Jan 19, 2022 at 1:20 PM Yifan Cai wrote: > >> > >> I think we should deprecate scripted UDFs now and drop them from the > next major, but possibly provide hooks for

Re: UDF future

2022-01-19 Thread Brandon Williams
Yes, just javascript. On Wed, Jan 19, 2022 at 1:20 PM Yifan Cai wrote: >> >> I think we should deprecate scripted UDFs now and drop them from the next >> major, but possibly provide hooks for people to write their own UDF >> "engines" and break out the current javascript implementation in to

Re: UDF future

2022-01-19 Thread Yifan Cai
> > I think we should deprecate scripted UDFs now and drop them from the next > major, but possibly provide hooks for people to write their own UDF > "engines" and break out the current javascript implementation in to its own > repository (but not ship it with Cassandra). +1 Just want to

Re: UDF future

2022-01-19 Thread Francisco Guerrero
+1 (nb) On 2022/01/19 15:10:20 Brandon Williams wrote: > We can for completeness, but even with twice as much usage reported as the > other methods, I don't think it will affect the outcome of the vote. > > On Wed, Jan 19, 2022, 7:25 AM Paulo Motta wrote: > > > This proposal looks good to me,

Re: UDF future

2022-01-19 Thread Brandon Williams
We can for completeness, but even with twice as much usage reported as the other methods, I don't think it will affect the outcome of the vote. On Wed, Jan 19, 2022, 7:25 AM Paulo Motta wrote: > This proposal looks good to me, +1. I was wondering if we should not run > this proposal on the

Re: UDF future

2022-01-19 Thread Paulo Motta
This proposal looks good to me, +1. I was wondering if we should not run this proposal on the user@ list to check if there's any additional feedback in addition to the informal Twitter and Linkedin channels? Em qua., 19 de jan. de 2022 às 10:18, Sylwester Lachiewicz < slachiew...@gmail.com>

Re: UDF future

2022-01-19 Thread Sylwester Lachiewicz
+1 (Nb) śr., 19 sty 2022, 12:31 użytkownik Brandon Williams napisał: > +1 > > On Tue, Jan 18, 2022 at 10:30 AM Ekaterina Dimitrova > wrote: > > > > Hi everyone, > > > > With the work to add Java 17 support for Cassandra, a new question > around the future of UDF was raised. The scripted UDF

Re: UDF future

2022-01-19 Thread Brandon Williams
+1 On Tue, Jan 18, 2022 at 10:30 AM Ekaterina Dimitrova wrote: > > Hi everyone, > > With the work to add Java 17 support for Cassandra, a new question around the > future of UDF was raised. The scripted UDF was using Nashorn which is no > longer packaged with the JDK. There are options to add

Re: UDF future

2022-01-18 Thread Jeff Jirsa
+1 > On Jan 18, 2022, at 8:38 AM, Jonathan Ellis wrote: > >  > +1 > >> On Tue, Jan 18, 2022 at 10:34 AM C. Scott Andreas >> wrote: >> I also (+1nb) support a proposal to deprecate JavaScript UDFs; to offer an >> interface for those who would like to supply a UDF implementation; and to >>

Re: UDF future

2022-01-18 Thread Jonathan Ellis
+1 On Tue, Jan 18, 2022 at 10:34 AM C. Scott Andreas wrote: > I also (+1nb) support a proposal to deprecate JavaScript UDFs; to offer an > interface for those who would like to supply a UDF implementation; and to > extract/remove our current implementation. > > JDK17 support seems like a much

Re: UDF future

2022-01-18 Thread C. Scott Andreas
I also (+1nb) support a proposal to deprecate JavaScript UDFs; to offer an interface for those who would like to supply a UDF implementation; and to extract/remove our current implementation. JDK17 support seems like a much higher priority than in-tree JS UDFs. — Scott > On Jan 18, 2022, at

UDF future

2022-01-18 Thread Ekaterina Dimitrova
Hi everyone, With the work to add Java 17 support for Cassandra, a new question around the future of UDF was raised. The scripted UDF was using Nashorn which is no longer packaged with the JDK. There are options to add new dependencies to Graal JS for example but it seems people are not sure that