Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FC2E11B51 for ; Mon, 23 Jun 2014 09:19:25 +0000 (UTC) Received: (qmail 66412 invoked by uid 500); 23 Jun 2014 09:19:25 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66383 invoked by uid 500); 23 Jun 2014 09:19:25 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 66234 invoked by uid 99); 23 Jun 2014 09:19:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2014 09:19:24 +0000 Date: Mon, 23 Jun 2014 09:19:24 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7395) Support for pure user-defined functions (UDF) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040554#comment-14040554 ] Robert Stupp commented on CASSANDRA-7395: ----------------------------------------- CASSANDRA-7392 describes that it should be possible to interrupt "zombie" queries. It might be useful for badly coded UDFs ("sick endless loop" - might easily happen during development). But I've no quick idea how to gracefully stop a thread that's not in a wait(), sleep() or whatever unless a separate thread is used for UDF evaluation which adds at least .5ms latency for each UDF call. > Support for pure user-defined functions (UDF) > --------------------------------------------- > > Key: CASSANDRA-7395 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7395 > Project: Cassandra > Issue Type: New Feature > Components: API, Core > Reporter: Jonathan Ellis > Fix For: 3.0 > > Attachments: 7395.diff > > > We have some tickets for various aspects of UDF (CASSANDRA-4914, CASSANDRA-5970, CASSANDRA-4998) but they all suffer from various degrees of ocean-boiling. > Let's start with something simple: allowing pure user-defined functions in the SELECT clause of a CQL query. That's it. > By "pure" I mean, must depend only on the input parameters. No side effects. No exposure to C* internals. Column values in, result out. http://en.wikipedia.org/wiki/Pure_function -- This message was sent by Atlassian JIRA (v6.2#6252)