Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C29FC10FE8 for ; Mon, 10 Jun 2013 17:18:23 +0000 (UTC) Received: (qmail 30890 invoked by uid 500); 10 Jun 2013 17:18:23 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 30725 invoked by uid 500); 10 Jun 2013 17:18:22 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 30709 invoked by uid 500); 10 Jun 2013 17:18:20 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 30697 invoked by uid 99); 10 Jun 2013 17:18:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 17:18:20 +0000 Date: Mon, 10 Jun 2013 17:18:20 +0000 (UTC) From: "Gabriel Reid (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CRUNCH-215) Add BloomFilterJoinStrategy 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/CRUNCH-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679644#comment-13679644 ] Gabriel Reid commented on CRUNCH-215: ------------------------------------- Ok, got it, thanks for the explanation. In any case, the code for the toBytes method is written now, so it should be a simple thing to move it to the PType implementation classes. It would probably also be worth having optimized versions for primitive values, instead of writing them to an Avro/Writable first to get the bytes representation. But yeah, that's for another JIRA. > Add BloomFilterJoinStrategy > --------------------------- > > Key: CRUNCH-215 > URL: https://issues.apache.org/jira/browse/CRUNCH-215 > Project: Crunch > Issue Type: New Feature > Reporter: Gabriel Reid > Assignee: Gabriel Reid > Attachments: CRUNCH-215.patch > > > Bloom filters can be very effective for pre-filtering one side of a join when one side of the join has a small subset of the keys of the other side (i.e. there are many keys on one side that will not be joined). > The Bloom filter can be built up based on the keys of one side of the join (the side with fewer keys), and then can be applied as a filter to the other side of the join before it is sent through the shuffle and reduce phases. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira