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 A2B5E200D22 for ; Sat, 21 Oct 2017 18:44:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A130C160BD5; Sat, 21 Oct 2017 16:44: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 E6D431609E2 for ; Sat, 21 Oct 2017 18:43:59 +0200 (CEST) Received: (qmail 48275 invoked by uid 500); 21 Oct 2017 16:43:59 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 48262 invoked by uid 99); 21 Oct 2017 16:43:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Oct 2017 16:43:58 +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 0A1E11807D7 for ; Sat, 21 Oct 2017 16:43:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1imxKwLtOMaz for ; Sat, 21 Oct 2017 16:43:57 +0000 (UTC) Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 38A265FC80 for ; Sat, 21 Oct 2017 16:43:56 +0000 (UTC) Received: by mail-pg0-f41.google.com with SMTP id p9so8791432pgc.8 for ; Sat, 21 Oct 2017 09:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=sY5UNhMWXqixMbxnBSY3b9hhAt7AAsAQBF5rlgX2q6s=; b=YEJZ4m/biPWk5pq9hMdovttTOpPplniRr2JCSmLHSj+XBAfVjL40T+Z0eBw+6f71wZ 6Hiw0jznHIkYeCqJ2uVUQi9tvZcjDpvDi16K2du8aeNbEOfQYX567/KiJOip4Z+OjKU3 bSx8LekGi0Tidvc3+MK0Mira2OjPP29aP+rp0ibzlp13iWYuymVOM6W11jre3M45lrlJ A/PqdbQjIbFBsUwgfJOgKTZXPtcUwWGN+8p8pilcCbzUdVu/9GxqSC8zmEMl+jNSYd9W Czn/ES5BDElKOc4yZxskfG0XOJcs67Dt+dn7wsaGYqgvbrp4iLsaRCMls6LK3nKUf/lB DicQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=sY5UNhMWXqixMbxnBSY3b9hhAt7AAsAQBF5rlgX2q6s=; b=uCLLqeiAy1ykmgmn+mDlEhCqPD2tvJODxacHSC0YG5yW/uuUyL7aYk7YfeAjtxHDn3 JFjM8ffOOriBIvsVv0ZuLAtxl0yzFafn61U+wxcWWhKncyKdO5EHhm1Usm1IT3+EyTtY Z/IL/z44157Q+wKJBQcGpQ1oQrXjYg/AaLYcgnje2vhppItGUHM7Ku0vc9NLMw6kqIQR ZwDOJh26ypA+jVMHfhWRB6aXpQQU8RdG/hFm8ddi2qPCtJgvSXq+hTttyZMRiu63CaTr wuUSFJxF6m9SXp9zLH8Fjb7fV8A5XVogzfYTPwqOXa8FaI88BknDObnE/PaJO9WMmHJK JaEQ== X-Gm-Message-State: AMCzsaUaiU67t1EcEUy4bY+La5xTO9Qg0a+1E4u0aj/Fx2+iSqOoZpys UzfHI4romNGzoOytFrKEyZdXzg== X-Google-Smtp-Source: ABhQp+RN03JgdBxbLZMPIWaYw9n8kOFA4Qlxw05SOCcdtsofCG1rl9g/V3GrvBXzAZjRp5X0nT2zAg== X-Received: by 10.99.154.66 with SMTP id e2mr7455639pgo.116.1508604229202; Sat, 21 Oct 2017 09:43:49 -0700 (PDT) Received: from mikejcarey.local ([156.39.10.47]) by smtp.googlemail.com with ESMTPSA id z89sm6207260pff.21.2017.10.21.09.43.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Oct 2017 09:43:48 -0700 (PDT) Subject: Re: Support for user-defined-function on feeds To: dev@asterixdb.apache.org References: From: Mike Carey Message-ID: Date: Sat, 21 Oct 2017 09:43:46 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------AEA8057235C6742C8F42A27C" Content-Language: en-US archived-at: Sat, 21 Oct 2017 16:44:00 -0000 --------------AEA8057235C6742C8F42A27C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Presumably we should document its limitations, e.g., the SQL++ function bodies (like the AQL ones before) used on feeds should not involve joins or time-varying functions like current date/time, etc. On 10/21/17 9:36 AM, Xikui Wang wrote: > Hi Devs, > > With the merge of the patch in [1], we no longer support attaching AQL > user-defined-function to feed. AsterixDB now returns an "incompatible > function language" exception for this case. > > Meanwhile, we start to support adding SQLPP user-defined-function to feed. > If you encounter any problems with using it, please file an issue and let > me know. Thanks. > > [1] https://asterix-gerrit.ics.uci.edu/#/c/2059/ > > Best, > Xikui > --------------AEA8057235C6742C8F42A27C--