Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra 20118 5.0 #3737

Draft
wants to merge 4 commits into
base: cassandra-5.0
Choose a base branch
from
Draft

Conversation

driftx
Copy link
Contributor

@driftx driftx commented Dec 11, 2024

PR for Stefan

* @param transformation transformation function which gets the row from the old table and returns a row for the new table
*/
@VisibleForTesting
static void migrateTable(boolean truncateIfExists, String oldName, String newName, String[] columns, Function<UntypedResultSet.Row, Collection<Object[]>> transformation)
Copy link
Contributor

@smiklosovic smiklosovic Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@driftx does this method differ from the one in 41 migrator? What about having abstract migrator these two extend and putting that method there so we can reuse?

@driftx driftx force-pushed the CASSANDRA-20118-5.0 branch 3 times, most recently from 13c3d58 to ce05f91 Compare December 13, 2024 12:40
@driftx driftx force-pushed the CASSANDRA-20118-5.0 branch from ce05f91 to d80c66b Compare December 14, 2024 01:28
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.

2 participants