Closed vals-productions closed 9 months ago
Thanks for the callout. I will see that I take care of it in the next couple of weeks. I need to do some testing as well to make sure it works correctly with existing data.
Hi @patka , do you mind if I submit a PR to switch dateOf to toTimestamp? We have begun extensive testing of Cassandra 5x and would really like to be able to use cassandra-reaper. Thank you
Hi @denniskline, not at all. That would certainly speed things up a bit. Thanks already!
Thank you @patka, happy to help!
Hi @patka, PR opened: https://github.com/patka/cassandra-migration/pull/84 Please let me know if you'd like it adjusted. Thanks!
Awesome, thanks a lot! I will have a look latest on the weekend as I have some calls in the evening hours with teams in other time zones this week. Probably won't have time before the weekend.
Thanks again for your effort!
PR is merged and a new release (v2.6.1_v4) is created. It takes some time to be distributed in the network but should be available within the next couple of hours.
Previously dateOf was deprecated.
Appears it was removed from 5.0 per changelog:
I realized cassandra migration fails with the exception while playing with cassandra 5.0:
Makes sense to tweak the code to use toTimestamp as suggested in above warning. Per my observation the function is used for migration table timestamp columns.