Apache Spark, Analytics, Cryptography, Computer Science, Data Engineering.
StringType, true)) .add(StructField("uuid", IntegerType, true)) val df = spark .createDataFrame( spark.sparkContext.parallelize( Seq( Row("happy","smile", 1),Row("angry", "frown", 2)) ), schema ) At this point you should have a very simple DataFrame that you can now apply the Spark SQL Functions