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'"