【发布时间】:2017-06-28 04:55:15
【问题描述】:
我在一个扁平结构的 json 文件上运行了spark.read.json(json_file_path)。
我收到错误消息:
Reference 'col' is ambiguous, could be: col#29582L, col#29632
这可能是由于另一列的名称不同:Col。如果无法修改 json 数据,如何解决?
【问题讨论】:
标签: json apache-spark apache-spark-sql