You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/11 19:22:00 UTC

[jira] [Commented] (NIFI-7132) PutCassandraQL is handling UUIDs as Strings

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

ASF subversion and git services commented on NIFI-7132:
-------------------------------------------------------

Commit a80b2475f79ae8142202e64bb7822f05814b2dd4 in nifi's branch refs/heads/master from Wouter de Vries
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a80b247 ]

NIFI-7132: fix handling of UUIDs in PutCassandraQL

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #4048.


> PutCassandraQL is handling UUIDs as Strings
> -------------------------------------------
>
>                 Key: NIFI-7132
>                 URL: https://issues.apache.org/jira/browse/NIFI-7132
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.11.1
>            Reporter: Wouter de Vries
>            Priority: Major
>              Labels: cassandra, putcassandraql, uuid
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> PutCassandraQL fails when attempting to insert a UUID/timeUUID on Nifi 1.11.1 (and presumably all prior versions), due to handling UUIDs as strings.
> Input: 
>  FlowFile Attribute Map Content
>  Key: 'cql.args.1.type'
>  Value: 'timeuuid'
> Key: 'cql.args.1.value'
> Value: '5442b1f6-4c16-11ea-87f5-45a32dbc5199'
>  --------------------------------------------------
>  INSERT INTO test.test (id) VALUES ( ? )
>  
> Output:
> com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [timeuuid <-> java.lang.String]
>  Record does not get inserted into Cassandra
> Expected output:
>  Record gets inserted into Cassandra



--
This message was sent by Atlassian Jira
(v8.3.4#803005)