update-attribute

Nifi PutSQL Timestamp/Datetime error cannot be converted error

╄→尐↘猪︶ㄣ 提交于 2019-12-02 03:24:07
问题 I tried the solution suggested to remove the timestamp format conversion error by using "UpdateAttribute" processor i.e. ConvertJSONtoSQL-> UpdateAttribute--> PutSQL In UpdateAttribute I used Property Value --------------- ------------------------ sql.args.4.value -> ${sql.args.4.original:format("yyyy-MM-dd HH:mm:ss")} Log: The value of the sql.args.4.value is '', which cannot be converted to a timestamp at org.apache.nifi.processors.standard.PutSQL.setParameters(PutSQL.java:690) at Without