Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 40081 invoked from network); 3 Apr 2009 01:01:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 01:01:38 -0000 Received: (qmail 84888 invoked by uid 500); 3 Apr 2009 01:01:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84827 invoked by uid 500); 3 Apr 2009 01:01:37 -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 84819 invoked by uid 99); 3 Apr 2009 01:01:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 01:01:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 01:01:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 73E7C234C003 for ; Thu, 2 Apr 2009 18:01:14 -0700 (PDT) Message-ID: <361016564.1238720474463.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 18:01:14 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1062) Change the internal implemetation of SYSCS_INPLACE_COMPRESS_TABLE to share existing alter table In-Reply-To: <412439192.1141079095096.JavaMail.jira@ajax.apache.org> 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-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695199#action_12695199 ] Kathey Marsden commented on DERBY-1062: --------------------------------------- I think we could also file an Improvement issue to improve the error message. ERROR 42Y55: 'ALTER TABLE' cannot be performed on 'SYSCS_DIAG.SPACE_TABLE' because it does not exist. when the user called SYSCS_INPLACE_COMPRESS_TABLE is a little confusing. of course that would mean changing the message again or perhaps changing it back to the previous less specific but sufficiently informative: ERROR 42X05: Table/View SYSCS_DIAG.SPACE_TABLE does not exist. > Change the internal implemetation of SYSCS_INPLACE_COMPRESS_TABLE to share existing alter table > ----------------------------------------------------------------------------------------------- > > Key: DERBY-1062 > URL: https://issues.apache.org/jira/browse/DERBY-1062 > Project: Derby > Issue Type: Improvement > Components: Newcomer, SQL, Store > Affects Versions: 10.1.3.1 > Reporter: Mike Matrigali > Assignee: Mamta A. Satoor > Priority: Minor > Fix For: 10.5.0.0 > > Attachments: d1062-escape.diff, d1062-escape.diff > > > Change the internal implemetation of SYSCS_INPLACE_COMPRESS_TABLE to share existing alter table > code. One suggested approach is to use the same mechanism as SYSCS_COMPRESS_TABLE. Such > an implementation would involve: > o change the parser for alter table to accecpt some internal only syntax for SYSCS_INPLACE_COMPRESS_TABLE > o change the alter table constant action to get the required information for inplace compress > o move most of the inplace compress driving code to a routine in alter table execution, following the same > coding pattern as existing alter table compress. > I believe doing this will have multiple benefits: > 1) shares existing alter table code, so things like error checking, security management, ... is all done by one piece of code > 2) by sharing the code I believe the following outstanding JIRA issues will be addressed: DERBY-719, DERBY-720 - > 3) future changes addressing ddl like grant/revoke will automatically work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.