Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
MockRecordParser (in nifi-mock-record-utils) has an addSchemaField() method, but it does not have a parameter to set whether the field is nullable or not. Thus it creates a new RecordField without the nullable parameter, in which case it defaults to "true". This prevents tests from adding a non-nullable field.
This Jira proposes to overload addSchemaField() with a boolean "isNullable" parameter that will be passed along to the RecordField constructor.
Attachments
Issue Links
- links to