Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 2382 invoked from network); 13 Apr 2005 15:58:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Apr 2005 15:58:25 -0000 Received: (qmail 14311 invoked by uid 500); 13 Apr 2005 15:56:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 14233 invoked by uid 500); 13 Apr 2005 15:56:33 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 14106 invoked by uid 99); 13 Apr 2005 15:56:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Apr 2005 08:56:26 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 321B03DF for ; Wed, 13 Apr 2005 17:56:18 +0200 (CEST) Message-ID: <1484893614.1113407778203.JavaMail.jira@ajax.apache.org> Date: Wed, 13 Apr 2005 17:56:18 +0200 (CEST) From: "Jack Klebanoff (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-219) EXCEPT/INTERSECT fails in views In-Reply-To: <822257458.1113335240643.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-219?page=history ] Jack Klebanoff updated DERBY-219: --------------------------------- Attachment: intersect.diff [PATCH] I have attached a fix. > EXCEPT/INTERSECT fails in views > ------------------------------- > > Key: DERBY-219 > URL: http://issues.apache.org/jira/browse/DERBY-219 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.1.0.0 > Environment: Linux 2.4.20-31.9 > java version "1.4.2_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) > Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) > Reporter: Bernt M. Johnsen > Attachments: intersect.diff > > EXCEPT or INTERSECT in views give: > ERROR XJ001: Java exception: 'ASSERT FAILED costEstimate is not expected to be null for org.apache.derby.impl.sql.compile.SelectNode: org.apache.derby.iapi.services.sanity.AssertFailure > To recreate, run: > create table tab1 (i integer primary key); > insert into tab1 values (1),(2),(3),(4); > create table tab2 (i integer primary key); > insert into tab2 values (2),(4); > create view view1 as select * from tab1 intersect select * from tab2; > select * from view1; > . -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira