【问题标题】:Exploding array of struct, spark-sql returns null for orc file format结构爆炸数组,spark-sql 为 orc 文件格式返回 null
【发布时间】:2021-06-04 16:20:03
【问题描述】:

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

【问题讨论】:

    标签: apache-spark-sql orc


    【解决方案1】:

    spark.sql.hive.convertMetastoreOrc=false

    为我工作

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-04-27
      • 2019-07-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-09
      相关资源
      最近更新 更多