Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: 10.1.1.0
    • Component/s: SQL
    • Labels:
      None
    • 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)

      Description

      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;
      .

        Attachments

        1. intersect.diff
          5 kB
          Jack Klebanoff

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bernt Bernt M. Johnsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: