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 C1F8A11D1C for ; Wed, 23 Jul 2014 23:36:43 +0000 (UTC) Received: (qmail 39982 invoked by uid 500); 23 Jul 2014 23:36:41 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 39859 invoked by uid 500); 23 Jul 2014 23:36:41 -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 39618 invoked by uid 500); 23 Jul 2014 23:36:41 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 39583 invoked by uid 99); 23 Jul 2014 23:36:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 23:36:41 +0000 Date: Wed, 23 Jul 2014 23:36:41 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7491) Stats annotation fails to evaluate constant expressions in filter operator 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-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072550#comment-14072550 ] Gunther Hagleitner commented on HIVE-7491: ------------------------------------------ Looks good. +1 assuming tests pass. > Stats annotation fails to evaluate constant expressions in filter operator > -------------------------------------------------------------------------- > > Key: HIVE-7491 > URL: https://issues.apache.org/jira/browse/HIVE-7491 > Project: Hive > Issue Type: Sub-task > Components: Query Processor, Statistics > Affects Versions: 0.14.0 > Reporter: Prasanth J > Assignee: Prasanth J > Fix For: 0.13.0 > > Attachments: HIVE-7491.1.patch > > > HIVE-5369 added stats annotation to operator plan. The filter operator evaluates all expression node descriptors and applies rules. It always returns 0 for constant expressions like 'select * from table where true' or 'select * from table where true=true' etc. -- This message was sent by Atlassian JIRA (v6.2#6252)