You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Max Melentyev (Jira)" <ji...@apache.org> on 2026/04/20 17:01:00 UTC

[jira] [Created] (CASSANALYTICS-152) Microseconds are truncated from timestamp values

Max Melentyev created CASSANALYTICS-152:
-------------------------------------------

             Summary: Microseconds are truncated from timestamp values
                 Key: CASSANALYTICS-152
                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-152
             Project: Apache Cassandra Analytics
          Issue Type: Bug
            Reporter: Max Melentyev


Hey, we've noticed that timestamp values exported with cassandra-analytics have millisecond precision while values in cassandra have microsecond precision.

I've found this [table|https://github.com/apache/cassandra-analytics/blob/trunk/cassandra-analytics-cdc-codec/src/main/java/org/apache/cassandra/cdc/avro/AvroDataUtils.java#L87] saying that timestamp cassandra type is mapped to Date java type. This seems to cause the truncation, as Date has only millisecond precision.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org