Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 4C0FBD2C2 for ; Wed, 22 May 2013 17:22:23 +0000 (UTC) Received: (qmail 40988 invoked by uid 500); 22 May 2013 17:22:23 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40800 invoked by uid 500); 22 May 2013 17:22:22 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 40444 invoked by uid 500); 22 May 2013 17:22:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40427 invoked by uid 99); 22 May 2013 17:22:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 17:22:21 +0000 Date: Wed, 22 May 2013 17:22:21 +0000 (UTC) From: "Jitendra Nath Pandey (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4472) OR, NOT Filter logic can lose an array, and always takes time O(VectorizedRowBatch.DEFAULT_SIZE) 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/HIVE-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-4472: --------------------------------------- Attachment: HIVE-4472.5.patch Same patch as previous one except that the fix to TestConstantVectorExpression is removed, because that is taken care of by HIVE-4553. > OR, NOT Filter logic can lose an array, and always takes time O(VectorizedRowBatch.DEFAULT_SIZE) > ------------------------------------------------------------------------------------------------ > > Key: HIVE-4472 > URL: https://issues.apache.org/jira/browse/HIVE-4472 > Project: Hive > Issue Type: Sub-task > Reporter: Eric Hanson > Assignee: Jitendra Nath Pandey > Attachments: HIVE-4472.1.patch, HIVE-4472.2.patch, HIVE-4472.3.patch, HIVE-4472.4.patch, HIVE-4472.5.patch > > > The issue is in file FilterExprOrExpr.java and FilterNotExpr.java. > I posted a review for you at > https://reviews.apache.org/r/10752/ > I think there is a bug related to sharing of an array of integers. Also, one algorithm step takes O(DEFAULT_BATCH_SIZE) time always. If n<