Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 31728 invoked from network); 27 Feb 2008 20:27:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2008 20:27:05 -0000 Received: (qmail 67723 invoked by uid 500); 27 Feb 2008 20:27:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67689 invoked by uid 500); 27 Feb 2008 20:27:00 -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 67678 invoked by uid 99); 27 Feb 2008 20:27:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 12:27:00 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [66.196.96.92] (HELO smtp119.sbc.mail.re3.yahoo.com) (66.196.96.92) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Feb 2008 20:26:14 +0000 Received: (qmail 94517 invoked from network); 27 Feb 2008 20:26:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=oIeLN5Vd4vV8ZnO9I7+mAVsY5S+z96IIXIoCpnX1InHR23dYwQE6Dg4TzR4dsh3p/T8BM2r8oSAy8Lt7D7A9Hvl/gHG1xY3XGLQCr7FoQrCbRb2jxRuR/DaVELOI7l8V6pl7PQbDJMMOrWCW3qJRYnLqyciHqDGgax/ZXWRAucw= ; Received: from unknown (HELO ?9.72.133.66?) (mikem_app@sbcglobal.net@32.97.110.143 with plain) by smtp119.sbc.mail.re3.yahoo.com with SMTP; 27 Feb 2008 20:26:28 -0000 X-YMail-OSG: eeMCobgVM1nYdgjUpr_PW37JfzrZEaP82kUo0icRVhTnjaW3bSdQ6TcqA6zedzEfn4_T3HAkLp9dKXJwfcs5R7XKVaVz2_rnPn1BYcsFRqBYK3jcT9QiHmU1dqkQHA-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <47C5C773.4010808@sbcglobal.net> Date: Wed, 27 Feb 2008 12:26:27 -0800 From: Mike Matrigali User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-3330) provide support for unique constraint over nullable columns References: <714104446.1204139751209.JavaMail.jira@brutus> In-Reply-To: <714104446.1204139751209.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I thought from functional spec and ongoing discussion that behavior of unique constraint on non-nullable columns would be unchanged. So this constraint should still be backed by a unique index. Anurag Shekhar (JIRA) wrote: > [ https://issues.apache.org/jira/browse/DERBY-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573032#action_12573032 ] > > Anurag Shekhar commented on DERBY-3330: > --------------------------------------- > > dml019 test group by clause of unique constraint. When unique constraint > was backed by unique index, distinct scan was used but after making it non > unique constraint this was not the case so the results are not ordered. > > I have checked the test suite from nist web site and it mandates only > number of rows and not their sequence. > >> provide support for unique constraint over nullable columns >> ----------------------------------------------------------- >> >> Key: DERBY-3330 >> URL: https://issues.apache.org/jira/browse/DERBY-3330 >> Project: Derby >> Issue Type: New Feature >> Components: Store >> Affects Versions: 10.4.0.0 >> Environment: all >> Reporter: Anurag Shekhar >> Assignee: Anurag Shekhar >> Attachments: BTreeController.diff, derby-3330-testcase.diff, derby-3330.diff, derby-3330v2.diff, derby-3330v3.diff, derby-3330v4.diff, derby-3330v5.diff, derby-3330v6.diff, derby-3330v7.diff, derby-3330v8.diff, derby-3330v9.diff, FunctionalSpec_DERBY-3330-V2.html, FunctionalSpec_DERBY-3330.html, UniqueConstraint_Implementation.html, UniqueConstraint_Implementation_V2.html, UniqueConstraint_Implementation_V3.html >> >> >> Allow unique constraint over nullable field. Right now derby support unique constraint only over not null columns. >