[ https://issues.apache.org/jira/browse/NIFI-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Kawamura updated NIFI-5890: -------------------------------- Description: Timestamp to Date conversion fails with following Exception with rel/nifi-1.8.0 branch: {code} [ERROR] testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils) Time elapsed: 0.008 s <<< ERROR! org.apache.nifi.serialization.record.util.IllegalTypeConversionException: Cannot convert value [2018-12-12 10:45:26.478] of type class java.sql.Timestamp to Date for field null at org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67) {code} But NIFI-5333 added supporting this. This JIRA adds an unit test case to assert that conversion works. > Add Timestamp -> Date conversion support to DataTypeUtils > --------------------------------------------------------- > > Key: NIFI-5890 > URL: https://issues.apache.org/jira/browse/NIFI-5890 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions > Affects Versions: 1.8.0 > Reporter: Mike Thomsen > Assignee: Mike Thomsen > Priority: Major > > Timestamp to Date conversion fails with following Exception with > rel/nifi-1.8.0 branch: > {code} > [ERROR] > testTimestampToDate(org.apache.nifi.serialization.record.TestDataTypeUtils) > Time elapsed: 0.008 s <<< ERROR! > org.apache.nifi.serialization.record.util.IllegalTypeConversionException: > Cannot convert value [2018-12-12 10:45:26.478] of type class > java.sql.Timestamp to Date for field null > at > org.apache.nifi.serialization.record.TestDataTypeUtils.testTimestampToDate(TestDataTypeUtils.java:67) > {code} > But NIFI-5333 added supporting this. This JIRA adds an unit test case to > assert that conversion works. -- This message was sent by Atlassian JIRA (v7.6.3#76005)