When using this function: rdd =
sc.textFile("").mapPartitions(ConvertVal).toDF()

I get an exception and the last line is:
TypeError: 'JavaPackage' object is not callable

Since my function return value is already DataFrame, maybe there is a way to
access this type from my rdd?



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/createDataFrame-question-tp26178p26180.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to