spark读取esField ‘xx‘ not found; typically this occurs with arrays which are not mappedas single value
spark读取es数据时,数据中含有array类型,发出报错:Field 'collect_list(comm).time' not found; typically this occurs with arrays which are not mapped as single value则增加配置文件即可:conf.set("es.read.field.as.array.include","数组名
·
spark读取es数据时,数据中含有array类型,发出报错:
Field 'collect_list(comm).time' not found; typically this occurs with arrays which are not mapped as single value
则增加配置文件即可:
conf.set("es.read.field.as.array.include","数组名字")
更多推荐
已为社区贡献2条内容
所有评论(0)