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)

Reply via email to