Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 63792 invoked from network); 19 Aug 2010 22:46:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Aug 2010 22:46:38 -0000 Received: (qmail 45687 invoked by uid 500); 19 Aug 2010 22:46:38 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 45636 invoked by uid 500); 19 Aug 2010 22:46:37 -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 45628 invoked by uid 99); 19 Aug 2010 22:46:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 22:46:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 22:46:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7JMkGmJ009455 for ; Thu, 19 Aug 2010 22:46:16 GMT Message-ID: <720770.457861282257976416.JavaMail.jira@thor> Date: Thu, 19 Aug 2010 18:46:16 -0400 (EDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4736) ASSERT FAIL when code generating a column reference in a join predicate in presence of other outer join reordering In-Reply-To: <8954585.241621278522171151.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-4736: --------------------------------- Attachment: derby-4736-1d.diff derby-4736-1d.stat Uploading version 1d of this patch, which just improves legibility a bit in the new RuntimeStatisticsParser#assertSequence argument strings, by interpreting "_" as TAB and removing the explicit newline in favor if it being implicit. I think this patch is pretty safe, so if there are no objections, I'll commit it tomorrow. > 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.7.0.0 > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > 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, 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. - You can reply to this email to add a comment to the issue online.