Access Array StructField inside StructType.

2017-12-12 Thread satyajit vegesna
Hi All, How to iterate over the StructField inside *after*, StructType(StructField(*after*,StructType(*StructField(Alarmed,LongType,true), StructField(CallDollarLimit,StringType,true), StructField(CallRecordWav,StringType,true), StructField(CallTimeLimit,LongType,true), StructField(Signature

StructField of StructType

2014-11-04 Thread tridib
How do I create a StructField of StructType? I need to create a nested schema. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/StructField-of-StructType-tp18091.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: StructField of StructType

2014-11-04 Thread Michael Armbrust
Structs are Rows nested in other rows. This might also be helpful: http://spark.apache.org/docs/latest/sql-programming-guide.html#programmatically-specifying-the-schema On Tue, Nov 4, 2014 at 12:21 PM, tridib tridib.sama...@live.com wrote: How do I create a StructField of StructType? I need