Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93FB59591 for ; Tue, 6 Mar 2012 09:27:19 +0000 (UTC) Received: (qmail 40666 invoked by uid 500); 6 Mar 2012 09:27:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 40643 invoked by uid 500); 6 Mar 2012 09:27:19 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 40612 invoked by uid 99); 6 Mar 2012 09:27:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 09:27:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 09:27:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 87DB5A6A9 for ; Tue, 6 Mar 2012 09:26:57 +0000 (UTC) Date: Tue, 6 Mar 2012 09:26:57 +0000 (UTC) From: "Knut Anders Hatlen (Closed) (JIRA)" To: derby-dev@db.apache.org Message-ID: <1169892159.26716.1331026017558.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1986940604.6767.1330595399240.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DERBY-5635) Provide implementation for getMetaData() in VTITemplate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen closed DERBY-5635. ------------------------------------- Resolution: Fixed Fix Version/s: 10.9.0.0 Issue & fix info: (was: Patch Available) Thanks, Rick. Committed revision 1297396. > Provide implementation for getMetaData() in VTITemplate > ------------------------------------------------------- > > Key: DERBY-5635 > URL: https://issues.apache.org/jira/browse/DERBY-5635 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.9.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.9.0.0 > > Attachments: d5635.diff > > > VTITemplate defines getMetaData() as an abstract method. That method doesn't appear to be needed for user-defined table functions, so it would be good to provide a default implementation (could just throw an exception) so that less boilerplate is needed when writing table functions. The method does however get used by system VTIs, which is probably why it was made abstract in the first place. The system VTIs should still override getMetaData(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira