Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5FFA114F8 for ; Mon, 16 Jun 2014 19:27:24 +0000 (UTC) Received: (qmail 5034 invoked by uid 500); 16 Jun 2014 19:27:24 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 5010 invoked by uid 500); 16 Jun 2014 19:27:24 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 5001 invoked by uid 99); 16 Jun 2014 19:27:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2014 19:27:24 +0000 X-ASF-Spam-Status: No, hits=-2000.7 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; Mon, 16 Jun 2014 19:27:23 +0000 Received: (qmail 99466 invoked by uid 99); 16 Jun 2014 19:27:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2014 19:27:03 +0000 Date: Mon, 16 Jun 2014 19:27:03 +0000 (UTC) From: "Jinfeng Ni (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-993) Remove redundant comparison in comparison operator generated by FreeMarker template 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 Jinfeng Ni created DRILL-993: -------------------------------- Summary: Remove redundant comparison in comparison operator generated by FreeMarker template Key: DRILL-993 URL: https://issues.apache.org/jira/browse/DRILL-993 Project: Apache Drill Issue Type: Improvement Reporter: Jinfeng Ni Assignee: Jinfeng Ni Priority: Minor In comparison operators generated by FreeMarker template, we may do two comparisons for a single operator. The second comparison is actually redundant. In stead, we should modify the FreeMarker template, and do one comparison. This would improve the performance of comparison operators. -- This message was sent by Atlassian JIRA (v6.2#6252)