Hive UDFs

2015-07-07 Thread chrish2312
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

Removing Keys from a MapType

2015-06-05 Thread chrish2312
Hello! I am working a column of Maps with dataframes, and I was wondering if there was a good way of removing a set of keys and their associated values from that columns. I've been using a UDF, but if there was some built in function that I'm missing, I'd love to know. Thanks! -- View this