pyspark Hive support is required to CREATE Hive TABLE (AS SELECT)
作者:高景洋 日期:2021-09-03 18:46:00 浏览次数:1112
pyspark 执行 hive读写操作时报以下错误:
Hive support is required to CREATE Hive TABLE (AS SELECT)
来~ 翻译翻译: Hive 不支持建表请求 ~
这是为什么呢:
在spark 提交任务时,加上配置 :--conf spark.sql.catalogImplementation=hive
即可解决
本文永久性链接:
<a href="http://r4.com.cn/art197.aspx">pyspark Hive support is required to CREATE Hive TABLE (AS SELECT)</a>
<a href="http://r4.com.cn/art197.aspx">pyspark Hive support is required to CREATE Hive TABLE (AS SELECT)</a>
当前header:Host: r4.com.cn
X-Host1: r4.com.cn
X-Host2: r4.com.cn
X-Host3: 127.0.0.1:8080
X-Forwarded-For: 44.192.115.114
X-Real-Ip: 44.192.115.114
X-Domain: r4.com.cn
X-Request: GET /art197.aspx HTTP/1.1
X-Request-Uri: /art197.aspx
Connection: close
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
If-Modified-Since: Mon, 05 Dec 2022 02:36:37 GMT
Accept-Encoding: br,gzip