Skip to content

Commit

Permalink
Changes the uidSuffix used in IceberSink uuid related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rodmeneses committed Aug 26, 2024
1 parent 71f2893 commit ebc0d79
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,15 +403,15 @@ void testOperatorsUidNameWitUidSuffix() throws Exception {
.tableSchema(SimpleDataUtil.FLINK_SCHEMA)
.writeParallelism(parallelism)
.distributionMode(DistributionMode.HASH)
.uidSuffix("mlpt-ingestion")
.uidSuffix("data-ingestion")
.append();

Transformation firstTransformation = env.getTransformations().get(0);
Transformation secondTransformation = env.getTransformations().get(1);
assertThat(firstTransformation.getUid()).isEqualTo("Sink pre-writer mapper: mlpt-ingestion");
assertThat(firstTransformation.getName()).isEqualTo("Sink pre-writer mapper: mlpt-ingestion");
assertThat(secondTransformation.getUid()).isEqualTo("mlpt-ingestion");
assertThat(secondTransformation.getName()).isEqualTo("mlpt-ingestion");
assertThat(firstTransformation.getUid()).isEqualTo("Sink pre-writer mapper: data-ingestion");
assertThat(firstTransformation.getName()).isEqualTo("Sink pre-writer mapper: data-ingestion");
assertThat(secondTransformation.getUid()).isEqualTo("data-ingestion");
assertThat(secondTransformation.getName()).isEqualTo("data-ingestion");
}

private void testWriteRow(TableSchema tableSchema, DistributionMode distributionMode)
Expand Down

0 comments on commit ebc0d79

Please sign in to comment.