Spark 1.6.2 dataframe 如何插入到 Hive 表
dfStage01.write.mode("append").insertInto("temp.acct_stage_01")
以上语句在 spark-shell 中跑没有问题,但是build成jar 后,用spaek-submit运行报以下错误:
Exception in thread "main" org.apache.spark.sql.AnalysisException: Specifying database name or other qualifiers are not allowed for temporary tables. If the table name has dots (.) in it, please quote the table name with backticks (`).;
这个应该怎么办?
谢谢