RE: Issue while creating spark datasets

2016-10-08 Thread Kappaganthu, Sivaram (ES)
creating spark datasets Hi, I am trying to read a json into a dataframe and then to a dataset. I am facing the below issue. Could someone quickly help me. There is a PrintDF dataframe was created successfully and below is the schema. scala> personDF.printSchema(); root |-- personDF: struct (nulla

Issue while creating spark datasets

2016-10-08 Thread Kappaganthu, Sivaram (ES)
Hi, I am trying to read a json into a dataframe and then to a dataset. I am facing the below issue. Could someone quickly help me. There is a PrintDF dataframe was created successfully and below is the schema. scala> personDF.printSchema(); root |-- personDF: struct (nullable = true) ||-- ci