You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2015/12/09 18:36:10 UTC
[jira] [Assigned] (DRILL-2360) Add appropriate constant flag on UDF
inputs that are used in the setup method
[ https://issues.apache.org/jira/browse/DRILL-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Altekruse reassigned DRILL-2360:
--------------------------------------
Assignee: Jason Altekruse
> Add appropriate constant flag on UDF inputs that are used in the setup method
> -----------------------------------------------------------------------------
>
> Key: DRILL-2360
> URL: https://issues.apache.org/jira/browse/DRILL-2360
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Reporter: Jason Altekruse
> Assignee: Jason Altekruse
> Fix For: 1.5.0
>
>
> A number of UDFs do not include the appropriate flag to declare them as constants when the should be. Any input used in the setup method should include a constant flag in the @Param annotation for it (this allows us to detect and throw a helpful error message if they are used incorrectly). A correct example can be found in StringFunctions.RegexpReplace, an incorrect example can be found in GFloat8ToChar (available after running the freemarker generation that is a part of the default mvn install build).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)