+1 to deprecate, drop, add hooks.
On Wed, Jan 19, 2022 at 2:22 PM Brandon Williams <dri...@gmail.com> wrote: > Yes, just javascript. > > On Wed, Jan 19, 2022 at 1:20 PM Yifan Cai <yc25c...@gmail.com> 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 its own > repository (but not ship it with Cassandra). > > > > > > +1 > > > > Just want to clarify, is the scripted UDF the one defined using > javascript? > > > > > > > > > > On Wed, Jan 19, 2022 at 9:41 AM Francisco Guerrero <fran...@apache.org> > wrote: > >> > >> +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 <pauloricard...@gmail.com> > wrote: > >> > > >> > > 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> escreveu: > >> > > > >> > >> +1 (Nb) > >> > >> > >> > >> śr., 19 sty 2022, 12:31 użytkownik Brandon Williams < > dri...@gmail.com> > >> > >> napisał: > >> > >> > >> > >>> +1 > >> > >>> > >> > >>> On Tue, Jan 18, 2022 at 10:30 AM Ekaterina Dimitrova > >> > >>> <e.dimitr...@gmail.com> 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 new > >> > >>> dependencies to Graal JS for example but it seems people are not > sure that > >> > >>> it is worth it. Please check the discussion on CASSANDRA-16895. > >> > >>> > > >> > >>> > The following suggestion was made by Marcus and supported by > other PMC > >> > >>> members - "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)." > >> > >>> > > >> > >>> > As a result we decided to engage with our users and created a > Twitter > >> > >>> survey. Results below: > >> > >>> > > >> > >>> > We would love to understand how you use ApacheCassandra UDFs > and UDAs. > >> > >>> > > >> > >>> > 32 people responded as follows: > >> > >>> > > >> > >>> > We do not use them - 75% > >> > >>> > We only use Java UDFs - 22% > >> > >>> > We only use JS UDFs - 0% > >> > >>> > We use Java and JS UDFs - 3% > >> > >>> > > >> > >>> > We also received feedback on LinkedIN on the topic - > >> > >>> > https://www.linkedin.com/feed/update/urn:li:activity:6886728406742970369?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A6886728406742970369%2C6886793921020608512%29&replyUrn=urn%3Ali%3Acomment%3A%28activity%3A6886728406742970369%2C6887421509485248512%29 > >> > >>> > > >> > >>> > > >> > >>> > Thoughts? > >> > >>> > > >> > >>> > Best regards, > >> > >>> > Ekaterina > >> > >>> > >> > >> > >> > >