You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2015/07/21 03:45:04 UTC
[jira] [Comment Edited] (DRILL-3517) Add a UDF development FAQ
[ https://issues.apache.org/jira/browse/DRILL-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634309#comment-14634309 ]
Ted Dunning edited comment on DRILL-3517 at 7/21/15 1:44 AM:
-------------------------------------------------------------
8) My UDF is not a pure function so calling it with the same arguments will result in different values each time. Drill is only using the result of calling my function once. How can I fix that?
- Add the isRandom flag to the annotation that defines your class as a function:
@FunctionTemplate(isRandom = true, ...)
was (Author: tdunning):
8) My UDF is not a pure function so calling it with the same arguments will result in different values each time. Drill is only using the result of calling my function once. How can I fix that?
> 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
(v6.3.4#6332)