spark 读parquet文件新增字段后输出parquet文件
自己记录一下
val new_schema = spark.read.parquet(path1).schema.add("col2", DataTypes.StringType, true)
val rdd1 = spark.read.parquet(path2
自己记录一下
val new_schema = spark.read.parquet(path1).schema.add("col2", DataTypes.StringType, true)
val rdd1 = spark.read.parquet(path2