[
https://issues.apache.org/jira/browse/NIFI-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-9471:
---------------------------------
Fix Version/s: 1.16.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> PutKudu Row Object to String Conversion uses Incorrect Format
> -------------------------------------------------------------
>
> Key: NIFI-9471
> URL: https://issues.apache.org/jira/browse/NIFI-9471
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.12.0, 1.11.3, 1.15.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Fix For: 1.16.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)