Skip to content Skip to sidebar Skip to footer

PySpark - Aggregate Expression Required For Pivot, Found 'pythonUDF'

I am using Python 2.6.6 and Spark 1.6.0. I have df like this: id | name | number | -------------------------- 1 | joe | 148590 | 2 | bob | 148590 | 2 | stev

Solution 1:

Resolved. I used SQLContext to create the original data frame. Changed to HiveContext.


Post a Comment for "PySpark - Aggregate Expression Required For Pivot, Found 'pythonUDF'"