[ 
https://issues.apache.org/jira/browse/DRILL-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633744#comment-14633744
 ] 

Jacques Nadeau commented on DRILL-3516:
---------------------------------------

Notes from Stefan from Thread:

  - Source code needs to be included in the jar
   - it's used when the drillbits/queries are built/orchistrated

   - Always use full class qualifiers in the Eval() segment of your UDF

   - Don't forget to add the drill-module.conf to the resources folder of
   your project (should end up in th root of the jar)

   - Adding your udf package to drill-override.conf does not seem to matter
   - just copy the jar(s) with the .class and .java files to the
   jars/3rdparty directory

   - Feel free to user this code anyway you wish:
   - https://github.com/acmeguy/asdrill

   - Know about this project:
   - https://github.com/mapr-demos/simple-drill-functions

> UDF documentation doesn't get people where they need to be
> ----------------------------------------------------------
>
>                 Key: DRILL-3516
>                 URL: https://issues.apache.org/jira/browse/DRILL-3516
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Ted Dunning
>
> The UDF documentation on the web side rooted at 
> http://drill.apache.org/docs/develop-custom-functions/ does not describe the 
> high level process for how UDF's are used, nor does it describe why simple 
> things like toString can't work on *Holder data structures.
> This leads to huge confusion and frustration on the part of potentially 
> contributors.
> Here are some pertinent threads:
> http://mail-archives.apache.org/mod_mbox/drill-user/201507.mbox/%3CCACAwhF%3DBxs-bXNdrm0pNJ4e8hZiaueqtZMhJ%3DRiBpf%3Dt%3DzEOWA%40mail.gmail.com%3E
> http://mail-archives.apache.org/mod_mbox/drill-user/201507.mbox/%3CCACAwhFmwWkP6udc05UEGFTzpEsaRvAxSRKW%2B2Mg-ijYX8QoQxQ%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to