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 6299FF0CF for ; Fri, 26 Apr 2013 01:51:14 +0000 (UTC) Received: (qmail 91898 invoked by uid 500); 26 Apr 2013 01:51:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 91842 invoked by uid 500); 26 Apr 2013 01:51:13 -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 91832 invoked by uid 500); 26 Apr 2013 01:51:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 91827 invoked by uid 99); 26 Apr 2013 01:51:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 01:51:13 +0000 Date: Fri, 26 Apr 2013 01:51:13 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4209) Cache evaluation result of deterministic expression and reuse it 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-4209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642502#comment-13642502 ] Navis commented on HIVE-4209: ----------------------------- [~namit] I've made some classes from the copy of other, which seemed to make problems. I think I should remake the branch. (same on HIVE-3781) > Cache evaluation result of deterministic expression and reuse it > ---------------------------------------------------------------- > > Key: HIVE-4209 > URL: https://issues.apache.org/jira/browse/HIVE-4209 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-4209.D9585.1.patch, HIVE-4209.D9585.2.patch, HIVE-4209.D9585.3.patch, HIVE-4209.D9585.4.patch, HIVE-4209.D9585.5.patch > > > For example, > {noformat} > select key from src where key + 1 > 100 AND key + 1 < 200 limit 3; > {noformat} > key + 1 need not to be evaluated twice. -- 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