Skip to content

Conversation

silmeth
Copy link

@silmeth silmeth commented Mar 11, 2025

Hi, cqlmigrate depends on the function dateOf in CQL which has been deprecated at least since Cassandra 3.11 and probably much earlier (3.11 is the earliest documentation I could easily find, but seems it’s actually been deprecated since 2.2).

It has been finally completely removed in 5.0.

So this PR changes all uses of dateOf() to toTimestamp() which is compatible with all versions between 2.2 and 5.0. I also changed the example snippet in README, as the cqlMigratorConfig object was unused there.

@silmeth silmeth force-pushed the dateof-to-totimestamp branch from 8fe742f to 5f7ac1e Compare March 12, 2025 11:17
LockConfig by default uses LOCAL_ONE consistency level, the test needs to prime for that
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant