我试图使用Pyspark连接插入到现有的Mysql表中,但是我得到了以下错误 File "/usr/hdp/current/spark2-client/python/pyspark/sql/context.py", line 384, in sql
return self.sparkSession.sql(sql
我得到的数据行和插入到mysql的代码,res是我想要插入到mysql的数据。ProgrammingError: Failed processing format-parameters; Python 'series' cannot be converted to a MySQLtype 如何将数据帧中的数据添加到MySQL中?