Check if schema is generated correctly.
On Wednesday 17 August 2016 10:15 AM, sudhir patil wrote:
Tested with java 7 & 8 , same issue on both versions.
On Aug 17, 2016 12:29 PM, "spats" > wrote:
Cannot convert JavaRDD to
Tested with java 7 & 8 , same issue on both versions.
On Aug 17, 2016 12:29 PM, "spats" wrote:
> Cannot convert JavaRDD to DataFrame in spark 1.6.0, throws null pointer
> exception & no more details. Can't really figure out what really happening.
> Any pointer to fixes?
Cannot convert JavaRDD to DataFrame in spark 1.6.0, throws null pointer
exception & no more details. Can't really figure out what really happening.
Any pointer to fixes?
//convert JavaRDD to DataFrame
DataFrame schemaPeople = sqlContext.createDataFrame(people, Person.class);
// exception with no