You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Satheesh Bandaram (JIRA)" <de...@db.apache.org> on 2005/04/21 02:58:23 UTC

[jira] Closed: (DERBY-219) EXCEPT/INTERSECT fails in views

     [ http://issues.apache.org/jira/browse/DERBY-219?page=all ]
     
Satheesh Bandaram closed DERBY-219:
-----------------------------------


Fix checked in.

> 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
>      Fix For: 10.1.0.0
>  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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira