flowfile

org.apache.nifi.processor.exception.FlowFileHandlingException: is not known in this session) in <script> at line number 32

吃可爱长大的小学妹 提交于 2020-03-05 04:25:07
问题 I have written a python script to just compare to strings and putting attribute in the flowfile. But while handling exceptions, I am getting below error always and my flowfile is stuck in the queue with ExecuteScript Processor with below exception: 2020-02-07 18:15:26,049 ERROR [Timer-Driven Process Thread-7] o.a.nifi.processors.script.ExecuteScript ExecuteScript[id=0fdb3d0f-b361-3b31-faf8-fce2dc707591] ExecuteScript[id=0fdb3d0f-b361-3b31-faf8-fce2dc707591] failed to process due to org.apache

Add two columns together using apache-nifi

亡梦爱人 提交于 2019-12-11 14:29:49
问题 I have following scenario. I one database table I have : | id | name | basic_salary | allowance | _______________________________________| | 1 | sach | 2000 | 1000 | | 2 | nala | 5000 | 2500 | |______________________________________| add basic_salary and allowance togther and making it as net_salary and insert to a new table called net_salary For first step, I used ExecuteSQLRecord processor and can get all the records. But problem is : How to add those two columns coming in flowfile. So