I want to write emoji to Mysql. How can i set SET NAMES utf8mb4 using Spark Dataframe. SparkSql integration with Mysql
SET NAMES utf8mb4
df .write .mode(Save