spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chrish2312 <c...@palantir.com>
Subject Hive UDFs
Date Tue, 07 Jul 2015 22:19:53 GMT
I know the typical way to apply a hive UDF to a dataframe is basically
something like:

dataframe.selectExpr("reverse(testString) as reversedString")

Is there a way to apply the hive UDF just to a single row and get a row
back? Something like:

dataframe.first.selectExpr("reverse(testString) as reversedString")

Thanks in advance!



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Hive-UDFs-tp23707.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message