分解结构数组,spark-sql returns null for orc 文件格式

Exploding array of struct, spark-sql returns null for orc file format

我有外部 table,它以 ORC 文件格式存储数据。当我试图从 table 中分解 array<struct> 字段时,它 returns 空值

spark.sql.hive.convertMetastoreOrc=false

适合我

https://spark.apache.org/docs/latest/configuration.html