[ 
https://issues.apache.org/jira/browse/NIFI-9981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533957#comment-17533957
 ] 

Mike Thomsen commented on NIFI-9981:
------------------------------------

The scenario where I discovered we needed it was in PutCassandraRecord. The 
Cassandra client API is not smart enough to make the conversion from a UUID 
string into a Cassandra UUID type. However, it will work with a java.util.UUID. 
I didn't want to go down a rabbit hole of trying to rewrite that processor to 
make it able to properly convert to the expected field, so I figured adding 
Avro UUID support would work. After making these changes, PutCassandraRecord 
was able to insert UUID types without modification.

This might also potentially be useful with SQL databases that support UUID 
types.

> Add Avro UUID support to the record API
> ---------------------------------------
>
>                 Key: NIFI-9981
>                 URL: https://issues.apache.org/jira/browse/NIFI-9981
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Update the record api and associated readers and writers to support the new 
> UUID logical type.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to