问题描述

问题描述/异常栈

Cannot parse value [2020-12-02 17:46:46] for field [tk_restri_time]
Caused by: java.lang.IllegalArgumentException: Invalid format: "2020-12-02 17:46:46" is malformed at " 17:46:46"

解决方案

#设置不解析为date,直接返回string
ndi.spark.spark-conf.spark.es.mapping.date.rich=false

问题原因 FAQ-Cannot parse value [2020-12-02 17:46:46] for x - 图1



作者:常惠渊