Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 03D9F200BC3 for ; Fri, 4 Nov 2016 06:37:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0263B160B0B; Fri, 4 Nov 2016 05:37:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6F16A160AFF for ; Fri, 4 Nov 2016 06:36:59 +0100 (CET) Received: (qmail 33946 invoked by uid 500); 4 Nov 2016 05:36:58 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 33929 invoked by uid 99); 4 Nov 2016 05:36:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2016 05:36:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E5B12C0005 for ; Fri, 4 Nov 2016 05:36:58 +0000 (UTC) Date: Fri, 4 Nov 2016 05:36:58 +0000 (UTC) From: "James Taylor (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3355) Register Phoenix built-in functions as Calcite functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 04 Nov 2016 05:37:00 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15635328#comment-15635328 ] James Taylor commented on PHOENIX-3355: --------------------------------------- Patch looks good, [~maryannxue], but can you get rid of the nodeClass annotation everywhere as your new mechanism replaces that: {code} @BuiltInFunction(name=ToTimestampFunction.NAME, nodeClass=ToTimestampParseNode.class, {code} Also, by getting rid of that annotation, you'll see all the places where you need to update to the new mechanism. > Register Phoenix built-in functions as Calcite functions > -------------------------------------------------------- > > Key: PHOENIX-3355 > URL: https://issues.apache.org/jira/browse/PHOENIX-3355 > Project: Phoenix > Issue Type: Bug > Reporter: James Taylor > Assignee: Eric Lomore > Labels: calcite > Attachments: PHOENIX-3355.function_constructor.patch, PHOENIX-3355.wip, PHOENIX-3355.wip2 > > > We should register all Phoenix built-in functions that don't exist in Calcite. -- This message was sent by Atlassian JIRA (v6.3.4#6332)