Spark SQL複雜類型array,打散explode

df.withColumn("splitted",split(col("Description")," ")) .withColumn("exploded",explode(col("splitted"))) .select("Description","InvoiceNo","exploded").show(2) spark.sql("select Description,InvoiceNo,e
相關文章
相關標籤/搜索