drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2360) Add appropriate constant flag on UDF inputs that are used in the setup method
Date Tue, 18 Aug 2015 02:01:45 GMT

     [ https://issues.apache.org/jira/browse/DRILL-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Barclay (Drill) updated DRILL-2360:
------------------------------------------
    Assignee:     (was: Daniel Barclay (Drill))

> 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
>             Fix For: Future
>
>
> 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