Return-Path: X-Original-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C788918F65 for ; Wed, 23 Sep 2015 02:40:12 +0000 (UTC) Received: (qmail 63740 invoked by uid 500); 23 Sep 2015 02:40:12 -0000 Delivered-To: apmail-asterixdb-notifications-archive@asterixdb.apache.org Received: (qmail 63715 invoked by uid 500); 23 Sep 2015 02:40:12 -0000 Mailing-List: contact notifications-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list notifications@asterixdb.incubator.apache.org Received: (qmail 63706 invoked by uid 99); 23 Sep 2015 02:40:12 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2015 02:40:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3D2AA1809BF for ; Wed, 23 Sep 2015 02:40:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.92 X-Spam-Level: X-Spam-Status: No, score=0.92 tagged_above=-999 required=6.31 tests=[SPF_FAIL=0.919, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3RVmVG3dZByJ for ; Wed, 23 Sep 2015 02:40:02 +0000 (UTC) Received: from unhygienix.ics.uci.edu (unhygienix.ics.uci.edu [128.195.14.130]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id DBEAB2314A for ; Wed, 23 Sep 2015 02:40:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by unhygienix.ics.uci.edu (Postfix) with ESMTP id 11B2A240F7B; Tue, 22 Sep 2015 19:37:42 -0700 (PDT) Date: Tue, 22 Sep 2015 19:37:42 -0700 From: "Yingyi Bu (Code Review)" To: Steven Jacobs CC: Jenkins , Preston Carman , Till Westmann Reply-To: buyingyi@gmail.com X-Gerrit-MessageType: comment Subject: Change in asterixdb[master]: Convert comparisons with current-datetime, current-date, and... X-Gerrit-Change-Id: Ied64276873afcfbdd31dac313009e47429d8f9b0 X-Gerrit-ChangeURL: X-Gerrit-Commit: 232612ddd8801072e3c55371a347a7d93324d873 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.8.4 Message-Id: <20150923023742.11B2A240F7B@unhygienix.ics.uci.edu> Yingyi Bu has posted comments on this change. Change subject: Convert comparisons with current-datetime, current-date, and current-time to applicable index searches as though they were constants ...................................................................... Patch Set 1: What I mean is that the code to infer whether a function expression is a constant could be more general. For example, function call foo() should be a constant because it doesn't have any variable input and function foo2(foo()) is also a constant because there is no variable input in the expression tree. -- To view, visit https://asterix-gerrit.ics.uci.edu/367 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ied64276873afcfbdd31dac313009e47429d8f9b0 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Steven Jacobs Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Preston Carman Gerrit-Reviewer: Steven Jacobs Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: Yingyi Bu Gerrit-HasComments: No