当前位置:首页 - Hive

pyspark Hive support is required to CREATE Hive TABLE (AS SELECT)

作者:高景洋 日期:2021-09-03 18:46:00 浏览次数:1691

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>
当前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: 18.191.200.151 X-Real-Ip: 18.191.200.151 X-Domain: r4.com.cn X-Request: GET /art197.aspx HTTP/1.1 X-Request-Uri: /art197.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Accept-Encoding: gzip, br, zstd, deflate