Skip to content

Conversation

lvyanquan
Copy link
Contributor

Generate a random commit user and store it in state to avoid data loss.

@lvyanquan
Copy link
Contributor Author

Hi @yuxiqian, PTAL.

Copy link
Member

@yuxiqian yuxiqian left a comment

Choose a reason for hiding this comment

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

Thanks for @lvyanquan's nice work! Just left some comments here.


@ParameterizedTest(name = "{0} -> SNAPSHOT")
@EnumSource(names = {"V3_2_1", "V3_3_0", "SNAPSHOT"})
@EnumSource(names = {"V3_2_1", "V3_3_0", "V3_4_0", "SNAPSHOT"})
Copy link
Member

Choose a reason for hiding this comment

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

We may add 3.5.0 into the matrix now

this.catalogOptions = catalogOptions;
this.commitUser = commitUser;
// generate a random commit user to avoid conflict.
this.commitUser = commitUser + UUID.randomUUID();
Copy link
Member

Choose a reason for hiding this comment

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

Can we introduce commit.user-prefix as an alias of commit.user? Paimon also uses this option name, and I think it describes how commitUser is created better.

}

@ParameterizedTest(name = "{0} -> SNAPSHOT")
@EnumSource(names = {"V3_2_1", "V3_3_0", "V3_4_0", "SNAPSHOT"})
Copy link
Member

Choose a reason for hiding this comment

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

Ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants