[尝试在oracle数据库上执行sql查询并将结果插入到另一个表中,对于我的试用,我只是以select 1 COUNT from dual
的形式执行简单查询,然后尝试将其插入到名称为COUNT
的单列表中。Nifi上的记录内容似乎如下[{"COUNT":"1"}]
但是日志不断抛出错误due to java.sql.SQLDataException: None of the fields in the record map to the columns defined by the schem_name.table_name table:
有什么想法吗?
Translate Field Names
属性仅转换字段(列),而不转换表名称。尝试以大写形式指定模式/表,以匹配Oracle的期望。