drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Pawar <nitinpawar...@gmail.com>
Subject Re: Drill UDF input - pass variable list of strings
Date Thu, 09 Feb 2017 17:57:11 GMT
Jin,

we are looking for passing list as input to a function
something like function(col1,[1,2,3]), I feel this is doable
Just not able to find a way to pass the second parameter as array input

On Thu, Feb 9, 2017 at 11:22 PM, Jinfeng Ni <jni@apache.org> wrote:

> AFAIK, Drill currently does not allow variable size of parameters in
> UDF in general (built-in function concat is specially handled
> internally).  Someone once intended to add such support. Looks like
> that work has not been completed yet.
>
>
> On Thu, Feb 9, 2017 at 6:51 AM, Sandeep Dugar <sdugar@gainsight.com>
> wrote:
> > Hi,
> >
> > I am trying to write a UDF which will whether a list of strings is
> > contained in another list.
> >
> > Is there a way to pass a list of values to UDF where the list size is
> > variable?
> >
> > Thanks in advance!
> > -
> > Regards,
> > Sandeep
>



-- 
Nitin Pawar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message