spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chrish2312 <>
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:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message