drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arina Yelchiyeva <arina.yelchiy...@gmail.com>
Subject Re: Dynamic UDF Registration
Date Sat, 28 Jan 2017 13:22:55 GMT
Hi Charles,

drill-module.conf file should be placed in src/main/resources folder.
Example:
https://github.com/arina-ielchiieva/drillUDF/blob/master/src/main/resources/drill-module.conf


Kind regards
Arina

On Fri, Jan 27, 2017 at 10:50 PM, Charles Givre <cgivre@gmail.com> wrote:

> I’m having some trouble registering a UDF I wrote.  The UDF was working in
> previous versions of Drill and now Drill doesn’t seem to recognize it.
> When I try to register it I get the following error:
>
> : jdbc:drill:zk=local> create function using jar
> 'drill-geoip-functions-1.0.jar';
> +--------+---------------------------------------------------------------+
> |   ok   |                            summary                            |
> +--------+---------------------------------------------------------------+
> | false  | Jar drill-geoip-functions-1.0.jar does not contain functions  |
> +--------+---------------------------------------------------------------+
>
> I do have a drill-module.conf file and here are the contents:
> drill.classpath.scanning.packages += "org.apache.drill.contrib.function"
> I tried moving this file around and I put a copy in the /src folder as
> well as the /src/main folder to no avail.  Any suggestions?
> Thanks,
> — Charles
>
>
>
>
>
>

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