Github user jeffoxenberg commented on the issue:
https://github.com/apache/nifi/pull/602
Is the test suite actually creating a cassandra instance, creating a table,
and executing the generated cql against it? I did some testing and was able to
get the original code to insert by changing my c* column data type to 'text'
but leaving it as 'timestamp' in Nifi, since Nifi was doing a conversion from
timestamp to text. I think you'll only run into the error when the column in
c* is of type timestamp, and I can't find where the test suite has that logic.
I think the test passes with the original code because after the timestamp
value is set as a string
[here](https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-processors/src/main/java/org/apache/nifi/processors/cassandra/PutCassandraQL.java#L318-L327),
it gets treated as a string for the rest of the query. It wouldn't be
validated as a timestamp until it actually gets inserted into a c* table with a
column of type timestamp (or run through the datastax TypeCodec, which the
original code bypasses for a few types), at which point the datastax driver
would error.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---