2015-01-08 5 views

답변

3

필드 목록은 SchemaRDD을 통해 [rdd].schema.fields으로 액세스 할 수 있습니다.

 
lazy val schema: StructType 
     Returns the schema of this SchemaRDD (represented by a StructType).