Skip to content

chore: adding supporting decode for write logic #89

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

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

mnorbury
Copy link
Collaborator

@mnorbury mnorbury commented Aug 23, 2023

Adding support for the MessageMigrateTable requests

refs: #85

@mnorbury mnorbury force-pushed the chore/add-write-migration-logic branch 2 times, most recently from 5fee296 to e57f2ee Compare August 23, 2023 10:00
@mnorbury mnorbury force-pushed the chore/add-write-migration-logic branch from e57f2ee to 196867d Compare August 23, 2023 10:03
@mnorbury mnorbury marked this pull request as ready for review August 23, 2023 10:06
@mnorbury mnorbury requested a review from erezrokah August 23, 2023 10:06
Copy link
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Looks great, one non blocking comment

String parent = metaData.get(CQ_TABLE_DEPENDS_ON);

TableBuilder tableBuilder = Table.builder().name(name).columns(columns);
if (title != null) {
Copy link
Member

Choose a reason for hiding this comment

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

[non blocking] I think we can skip these null checks and pass everything to builder. If the values are null it won't change anything on the resulted table, WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, that makes sense. I'll modify as part of the next PR.

@mnorbury mnorbury added the automerge Add to automerge PRs once requirements are met label Aug 23, 2023
@kodiakhq kodiakhq bot merged commit 2b82e04 into main Aug 23, 2023
@kodiakhq kodiakhq bot deleted the chore/add-write-migration-logic branch August 23, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants