Spark操作Hive数据库的时候报错:Failed to write to table test1.hive_table in ErrorIfExists mode
Spark操作Hive数据库的时候报错:ERROR command.CreateDataSourceTableAsSelectCommand: Failed to write to table test1.hive_table in ErrorIfExists mode
提示:count(1)的时候加一个别名。
解决方法:
即可。