Apache Spark, Analytics, Cryptography, Computer Science, Data Engineering.
withColumn function and passing in the Spark SQL Functions we want to use. Hashing Strings Base64 Encoded String Values val hashed = df.withColumn( "hash", base64( concat_ws("-", $"name", $"emotion") ) ) The results of this transformation yield us a new column that is the result of base64 encoding