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)的时候加一个别名。

解决方法:


即可。

猜你喜欢

转载自blog.csdn.net/bigdata_mining/article/details/80894024
今日推荐