Which Nifi version are you using? 1.3.0 and 1.4.0 have some bugs with null.
Check NIFI-4069 and NIFI-4671.

Juan

On Tue, 19 Dec 2017 at 15:57 Bryan Bende <bbe...@gmail.com> wrote:

> Hello,
>
> What does your schema look like?
>
> You would need the schema to indicate that the field is nullable like this:
>
> "type": ["string", "null"] }
>
> If you only have "type": ["string"] } then it will produce an error when
> reading a null value.
>
> -Bryan
>
>
> On Tue, Dec 19, 2017 at 1:46 PM, Aruna Sankaralingam <
> aruna.sankaralin...@cormac-corp.com> wrote:
>
>> I have a CSV file in which some of the fields have NULL values. I am
>> getting this error that “Field cannot be null”. How do I let Nifi know to
>> accept NULL values?
>>
>>
>>
>> I see this property in the CSV reader called “NULL String”. Is there
>> anything that I can give here?
>>
>>
>>
>>
>

Reply via email to