drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Dunning (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3517) Add a UDF development FAQ
Date Mon, 20 Jul 2015 23:22:04 GMT

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

Ted Dunning commented on DRILL-3517:

Let's start in these comments:

1) Drill UDF's are not run in the lexical environment that you might think
  1.a) imports will just confuse you
  1.b) all class references need to be fully qualified
  1.c) fields that you define will get left behind

2) Inputs and outputs have to be in *Holder types

3) complex outputs can be created using the ComplexWriter

4) you need to build both source and binary jars.  Examples available

Not sure if these are FAQ format anymore.

> Add a UDF development FAQ
> -------------------------
>                 Key: DRILL-3517
>                 URL: https://issues.apache.org/jira/browse/DRILL-3517
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Documentation
>            Reporter: Jacques Nadeau
>            Assignee: Bridget Bevens
> Lets create a UDF FAQ of common issues, log entries, etc so that people know what to
do when they hit certain issues.

This message was sent by Atlassian JIRA

View raw message