Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-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 6E9AA1859B for ; Thu, 19 Nov 2015 10:47:11 +0000 (UTC) Received: (qmail 32231 invoked by uid 500); 19 Nov 2015 10:47:11 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 32102 invoked by uid 500); 19 Nov 2015 10:47:11 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 32069 invoked by uid 99); 19 Nov 2015 10:47:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2015 10:47:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 29C2A2C1F51 for ; Thu, 19 Nov 2015 10:47:11 +0000 (UTC) Date: Thu, 19 Nov 2015 10:47:11 +0000 (UTC) From: "Milad Bourhani (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-3947) Support Scala/Java UDAF 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/SPARK-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milad Bourhani updated SPARK-3947: ---------------------------------- Attachment: spark-udaf.zip Hi :) I've tried using your {{GeometricMean}} example with both a local (local[2]) mode and a remote (spark://...) and it appears to lead to different results, am I doing something wrong? I'm connecting to a Cassandra DB. I'm attaching a sample Maven project with a README.md explaining how to reproduce the two execution modes. Thank you. > Support Scala/Java UDAF > ----------------------- > > Key: SPARK-3947 > URL: https://issues.apache.org/jira/browse/SPARK-3947 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Pei-Lun Lee > Assignee: Yin Huai > Fix For: 1.5.0 > > Attachments: spark-udaf.zip > > > Right now only Hive UDAFs are supported. It would be nice to have UDAF similar to UDF through SQLContext.registerFunction. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org