Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.12.0, 1.11.3, 1.15.0
-
None
Description
Improvements to timestamp handling for PutKudu in NIFI-6551 introduced several other changes to use DataTypeUtils.toString() for Kudu Types that required String values. The second parameter of the DataTypeUtils.toString() method should be a format pattern to use when converting Date and Timestamp objects to strings, however, the AbstractKuduProcessor.buildPartialRow() method incorrectly passes the record field name as the second parameter, creating the potential for an IllegalArgumentException when PutKudu attempts to convert a Date or Timestamp to a String. Passing the optional format property for the Record Field Data Type should correct the behavior.
Attachments
Attachments
Issue Links
- is caused by
-
NIFI-6551 Improve timestamp handling for PutKudu processor
- Resolved
- links to