Hive 表是 orc + zlib
Spark 写入Hive报错:
HiveFileFormat`. It doesn't match the specified format `OrcFileFormat
即使将 Spark 写入 Hive 的代码改为
df.write.format('orc')
也还是报错。
解决方案:
df.write.format('Hive')
Hive 表是 orc + zlib
Spark 写入Hive报错:
HiveFileFormat`. It doesn't match the specified format `OrcFileFormat
即使将 Spark 写入 Hive 的代码改为
df.write.format('orc')
也还是报错。
解决方案:
df.write.format('Hive')