0
SchemaRDD
(SQLContext.parquetFile
을 사용하여로드 됨), 메타 데이터/스키마/열 목록을 어떻게 추출합니까?SchemaRDD의 스키마?
SchemaRDD
(SQLContext.parquetFile
을 사용하여로드 됨), 메타 데이터/스키마/열 목록을 어떻게 추출합니까?SchemaRDD의 스키마?
필드 목록은 SchemaRDD
을 통해 [rdd].schema.fields
으로 액세스 할 수 있습니다.
lazy val schema: StructType Returns the schema of this SchemaRDD (represented by a StructType).
도 SchemaRDD 아래 printSchema() 메소드가, SchemaRDD 참조.