Skip to content Skip to sidebar Skip to footer

JavaPackage Object Is Not Callable Error: Pyspark

Operations like dataframe.show() , sQLContext.read.json works fine , but most functions gives 'JavaPackage object is not callable error' . eg : when i do dataFrame.withColumn(fiel

Solution 1:

In zeppelin interpreter code

java_import(gateway.jvm, "org.apache.spark.sql.*")

was not getting executed. Adding this to the import fixed the issue


Post a Comment for "JavaPackage Object Is Not Callable Error: Pyspark"