Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 698B218100 for ; Wed, 9 Dec 2015 17:36:17 +0000 (UTC) Received: (qmail 56757 invoked by uid 500); 9 Dec 2015 17:36:11 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 56690 invoked by uid 500); 9 Dec 2015 17:36:11 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 56626 invoked by uid 99); 9 Dec 2015 17:36:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 17:36:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F2DA22C1F57 for ; Wed, 9 Dec 2015 17:36:10 +0000 (UTC) Date: Wed, 9 Dec 2015 17:36:10 +0000 (UTC) From: "Jason Altekruse (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DRILL-2360) Add appropriate constant flag on UDF inputs that are used in the setup method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)