Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 79459 invoked from network); 24 Feb 2011 11:31:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 11:31:03 -0000 Received: (qmail 46073 invoked by uid 500); 24 Feb 2011 11:31:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 45858 invoked by uid 500); 24 Feb 2011 11:31:01 -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 45768 invoked by uid 99); 24 Feb 2011 11:30:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 11:30:58 +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; Thu, 24 Feb 2011 11:30:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 725451B4EFA for ; Thu, 24 Feb 2011 11:30:38 +0000 (UTC) Date: Thu, 24 Feb 2011 11:30:38 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: <1100202972.13291.1298547038465.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (DERBY-4046) PredicatePushdownTest does not properly test for predicate pushdown in all cases 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-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-4046: -------------------------------------- Urgency: Normal Labels: derby_triage10_8 (was: ) > PredicatePushdownTest does not properly test for predicate pushdown in all cases > ---------------------------------------------------------------------------------- > > Key: DERBY-4046 > URL: https://issues.apache.org/jira/browse/DERBY-4046 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.5.1.1 > Reporter: Kathey Marsden > Labels: derby_triage10_8 > > In DERBY-3819 Knut commented that the JUnit test PredicatePushdownTest is no longer properly testing predicate pushdown after conversion. > https://issues.apache.org/jira/browse/DERBY-3819?focusedCommentId=12669371#action_12669371 > There is a comment in the test: > // [We]can tell if a predicate has been "pushed" by looking at > // the query plan information for the tables in question: > // if the table has an index on a column that is used as > // part of the pushed predicate, then the optimizer will > // (for these tests) do an Index scan instead of a Table > // scan. If the table does not have such an index then the > // predicate will show up as a "qualifier" for a Table > // scan. In all of these tests T3 and T4 have appropriate > // indexes, so if we push a predicate to either of those > // tables we should see index scans. Neither T1 nor T2 has > // indexes, so if we push a predicate to either of those > // tables we should see a qualifier in the table scan > // information. > So I think that means in the case of index scans our checks are ok, but for table scans we should also be checking the qualifiers. The join strategy checks are not really relevant except that hash join prevents predicate pushdown. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira