Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AED210668 for ; Tue, 21 Jan 2014 07:10:55 +0000 (UTC) Received: (qmail 24745 invoked by uid 500); 21 Jan 2014 07:10:52 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 24490 invoked by uid 500); 21 Jan 2014 07:10:49 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 24397 invoked by uid 99); 21 Jan 2014 07:10:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 07:10:44 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Jan 2014 07:10:41 +0000 Received: (qmail 24193 invoked by uid 99); 21 Jan 2014 07:10:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 07:10:19 +0000 Date: Tue, 21 Jan 2014 07:10:19 +0000 (UTC) From: "Hyunsik Choi (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TAJO-539) Change some EvalNode::eval to directly return a Datum value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Hyunsik Choi created TAJO-539: --------------------------------- Summary: Change some EvalNode::eval to directly return a Datum value Key: TAJO-539 URL: https://issues.apache.org/jira/browse/TAJO-539 Project: Tajo Issue Type: Improvement Components: operator/expression Reporter: Hyunsik Choi Assignee: Hyunsik Choi Fix For: 0.8-incubating After TAJO-501, we can ensure that all expressions except for AggregationFunctionCallEval can evaluated by calling once eval() instead of calling eval followed by terminate. In addition, current EvalNode implementation involves unnecessary memory consumption to keep EvalContext for all expressions which are not even aggregation eval. If we change EvalNode::eval() to directly return a Datum value, it would be reduce the memory consumption and CPU costs. -- This message was sent by Atlassian JIRA (v6.1.5#6160)