drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Altekruse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2360) Add appropriate constant flag on UDF inputs that are used in the setup method
Date Tue, 03 Mar 2015 00:48:29 GMT
Jason Altekruse created DRILL-2360:
--------------------------------------

             Summary: 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: Daniel Barclay (Drill)


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)

Mime
View raw message