Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 28499 invoked from network); 18 Aug 2010 14:01:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 14:01:40 -0000 Received: (qmail 39020 invoked by uid 500); 18 Aug 2010 14:01:40 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 38665 invoked by uid 500); 18 Aug 2010 14:01:37 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 38652 invoked by uid 99); 18 Aug 2010 14:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 14:01: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; Wed, 18 Aug 2010 14:01:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7IE1F07017388 for ; Wed, 18 Aug 2010 14:01:16 GMT Message-ID: <26609869.420161282140075748.JavaMail.jira@thor> Date: Wed, 18 Aug 2010 10:01:15 -0400 (EDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2719) Incorrect outer join TCK tests In-Reply-To: <5285011.420051282139416642.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/JCR-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899851#action_12899851 ] Jukka Zitting commented on JCR-2719: ------------------------------------ I fixed the expected result sets in revision 986682. I'll leave this issue open until we come up with better test cases for outer joins. > Incorrect outer join TCK tests > ------------------------------ > > Key: JCR-2719 > URL: https://issues.apache.org/jira/browse/JCR-2719 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-jcr-tests > Affects Versions: 2.0.0, 2.1.0, 2.1.1 > Reporter: Jukka Zitting > Priority: Minor > > The TCK test cases for outer joins seem to be incorrect. More specifically the expected result sets for the testRightOuterJoin1() and testLeftOuterJoin2() test cases in EquiJoinConditionTest are invalid, as shown below: > * testRightOuterJoin1() result set {{null, n1}, {n1, n2}, {n2, n2}} --> The n1 node does not have the propertyName2 property set, so the first tuple can never occur regardless of the join type. And since n2 already matches existing nodes, even {null, n2} can not be included in the result set. The correct result set for this query seems to be {{n1, n2}, {n2, n2}}. > * testLeftOuterJoin2() result set {{n1, null}, {n2, n1}, {n2, n2}} --> Same as above, a tuple with n1 as the leftmost node is not possible. The correct result set would be {{n2, n1}, {n2, n2}}. > Unfortunately the correct result sets here don't actually exercise the outer join functionality, i.e. none of the nodes in the returned tuples are null. We'll need to modify the test case setup to fix this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.