Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 30147 invoked from network); 16 Oct 2007 08:41:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 08:41:54 -0000 Received: (qmail 59760 invoked by uid 500); 16 Oct 2007 08:41:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 59719 invoked by uid 500); 16 Oct 2007 08:41:41 -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 59710 invoked by uid 99); 16 Oct 2007 08:41:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 01:41:41 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 08:41:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC82E714236 for ; Tue, 16 Oct 2007 01:40:51 -0700 (PDT) Message-ID: <15572000.1192524051900.JavaMail.jira@brutus> Date: Tue, 16 Oct 2007 01:40:51 -0700 (PDT) From: "John H. Embretsen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3129) Create Demo code, showing how to create and use table functions. In-Reply-To: <27603399.1192221410949.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535200 ] John H. Embretsen commented on DERBY-3129: ------------------------------------------ I applied the patch and took the vtiDemo.sql script for a quick test drive. Although I probably didn't get half of what these sample table functions are able to do and how they work during my brief encounter, my impression is that they demonstrate some very useful and powerful features! Is this demo supposed to be included in our (future) released bin-distributions? If so, more detailed instructions for compiling the Java classes and running the demo should be included, as well as references to more information/documentation (I probably didn't have to mention this, but I did it just in case... ;) ). For Derby developers the demo seems to work fine, at least after tuning the SQL script a little (paths, urls) and making sure the MySQL example database is available as expected. A minor inconvenience was that MySQL calls this database "world" [1], not "worlddb" as the URLs in the script say, so I had to do another round of changing the MySQL connection URLs (or recreate the db in MySQL). I also found a minor inconsistency when changing the paths to the derby trunk: The script comments say that it assumes to find the derby code at '/opt/DerbyTrunk', but the script also referred to './trunk' at one point (at line 144, in the query for "how active were the committers in 2006?"). After updating all path references to trunk, everything went fine. Well done! [1]: http://dev.mysql.com/doc/world-setup/en/world-setup.html > Create Demo code, showing how to create and use table functions. > ---------------------------------------------------------------- > > Key: DERBY-3129 > URL: https://issues.apache.org/jira/browse/DERBY-3129 > Project: Derby > Issue Type: Improvement > Components: Demos/Scripts > Affects Versions: 10.4.0.0 > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Attachments: derby-3129-sampleTableFunctions-aa.diff > > > Create some useful, sample table functions. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.