【发布时间】:2020-05-08 07:55:46
【问题描述】:
会议
spark.conf.set('spark.sql.hive.convertMetastoreParquet', "true")
蜂巢表
spark.sql("create table table_name (ip string, user string) PARTITIONED BY (date date) STORED AS PARQUET")
插入
df.write.insertInto("table_name", overwrite=True)
错误
Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.hive.execution.HiveFileFormat$$anon$1
顺便说一句,插入 ORC 表是好的。以客户端模式在集群上运行。
【问题讨论】:
标签: apache-spark pyspark hive bigdata