Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this topic

How to use lookup processor to compare NULL Value?

avatar
Rising Star

I have chain of look up processors.

jarviszzzz_0-1705468808206.png

 

Suppose I have a flowfile where the lookup key is a null value, and I intend to retrieve a corresponding value from a MySQL table. However, I consistently encounter an issue where the lookup process returns unmatched results, even when there are null values present in the MySQL table.

For instance, the 'filing_status_ID' field contains null values. When attempting to compare it with specific columns in the MySQL table, where the comparison value is also null, the outcome consistently registers as unmatched.

jarviszzzz_1-1705468827671.png

what can I do so that there will be match case? Like flowfile.key = mysqltable.key return match (NULL = NULL)

 

Who agreed with this topic