patka / cassandra-migration

Schema migration library for Cassandra
MIT License
152 stars 47 forks source link

Remove usage of dateOf which is removed in Cassandra 5.0 #80

Closed adejanovski closed 9 months ago

adejanovski commented 1 year ago

The deprecated dateOf() function was removed in trunk and will be absent in Cassandra 5.0. We need to replace it with toTimestamp() which provides similar functionality.

Sadly I don't see how we can test this in tests since cassandra-unit doesn't support using recent versions of Cassandra, let alone trunk AFAIK.

paulwwisl commented 1 year ago

But Cassandra 5.0 is not released yet

https://cassandra.apache.org/_/download.html

3.0 Maintained until 5.0.0 release (Nov-Dec 2023)

The might be other changes needed.

But I understand without this change the tool will break for sure.

denniskline commented 10 months ago

The 5.0 branch is now feature complete and the next release will be 5.0-beta1. There shouldn't be more breaking changes.

patka commented 9 months ago

Merge in the context of PullRequest 84