Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 89039 invoked from network); 7 Feb 2011 20:25:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Feb 2011 20:25:25 -0000 Received: (qmail 94711 invoked by uid 500); 7 Feb 2011 20:25:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 94676 invoked by uid 500); 7 Feb 2011 20:25:24 -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 94669 invoked by uid 99); 7 Feb 2011 20:25:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 20:25:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 20:25:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4C95F18F925 for ; Mon, 7 Feb 2011 20:25:01 +0000 (UTC) Date: Mon, 7 Feb 2011 20:25:01 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <319080410.588.1297110301306.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Reopened: (DERBY-4736) ASSERT FAIL when code generating a column reference in a join predicate in presence of other outer join reordering 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-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden reopened DERBY-4736: ----------------------------------- Assignee: Kathey Marsden (was: Dag H. Wanvik) Assign to myself for backport > ASSERT FAIL when code generating a column reference in a join predicate in presence of other outer join reordering > ------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-4736 > URL: https://issues.apache.org/jira/browse/DERBY-4736 > Project: Derby > Issue Type: Sub-task > Components: SQL > Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0 > Reporter: Dag H. Wanvik > Assignee: Kathey Marsden > Fix For: 10.6.2.1, 10.7.1.1 > > Attachments: derby-4736-1a.diff, derby-4736-1a.stat, derby-4736-1b.diff, derby-4736-1b.stat, derby-4736-1c.diff, derby-4736-1c.stat, derby-4736-1d.diff, derby-4736-1d.stat, derby-4736-followup-a.diff, derby-4736-followup-a.stat, loj-analysis.txt, query_plan_derby_4736.pdf > > > From schema given in DERBY-4712, this query gives an ASSERT with sane Derby: > rs = s.executeQuery("SELECT 1 FROM (T0 LEFT JOIN (T1 LEFT JOIN (T2 LEFT JOIN " + > " (T3 LEFT JOIN T4 ON 1=1) ON T2.X = T3.X) ON 1=1) ON 1=1) " + > " LEFT JOIN " + > " (T5 INNER JOIN T6 ON 1=1) " + > " ON T2.X = 1 "); > Cf the attachments in DERBY-4712 assert-bind-opt-trees.*. > From preliminary analysis, this error seems to be unrelated to the NPEs reported in DERBY-4712, so filing this as a sub-issue. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira