【发布时间】:2017-06-23 07:30:44
【问题描述】:
我尝试将注入 json 文件转换为 postgresql,首先我尝试使用 ConvertJSONToSQL 处理器将我的 json 文件转换为 sql 格式,然后将流传递到 replacetext 处理器,然后将流传递到 putsql 处理器。在 putsql 处理器中我遇到了问题
由于 org.postgresql.util.PSQLException: The column index is out of 范围:1
NIFI 流程:
PutSQL 错误:
替换值:INSERT INTO public.detail (id,name, salary) VALUES (${id},${name},${salary})
【问题讨论】: