Skip to content

Conversation

@zhangshenghang
Copy link
Member

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@zhangshenghang zhangshenghang changed the title [Fix][Connector-v2][Protobuf] Ensure case-sensitive field names are preserved in Protobuf serialization and deserialization [Fix][Formats][Protobuf] Ensure case-sensitive field names are preserved in Protobuf serialization and deserialization Dec 15, 2025
public void testProtobufCaseSensitiveFieldNames(TestContainer container)
throws IOException, InterruptedException, URISyntaxException {
Container.ExecResult execResult =
container.executeJob("/protobuf/fake_to_kafka_protobuf_case_sensitive.conf");
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this test use the SinkFlowTestUtils.runBatchWithCheckpointDisabled(...) method to complete the test instead of submitting the task?

}
producer.flush();

Container.ExecResult execResult = container.executeJob(confFile);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this test use the SourceFlowTestUtils.runBatchWithCheckpointDisabled(...) method to complete the test instead of submitting the task?

new SeaTunnelDataType<?>[] {BasicType.STRING_TYPE, BasicType.INT_TYPE});

SeaTunnelRowType seaTunnelRowType =
new SeaTunnelRowType(
Copy link
Contributor

Choose a reason for hiding this comment

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

Reduce redundancy: private SeaTunnelRowType getSeaTunnelRowType()

new String[] {"NestedField", "AnotherField"},
new SeaTunnelDataType<?>[] {BasicType.STRING_TYPE, BasicType.INT_TYPE});

SeaTunnelRowType seaTunnelRowType =
Copy link
Contributor

Choose a reason for hiding this comment

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

Reduce redundancy: private SeaTunnelRowType getSeaTunnelRowType()

@zhangshenghang zhangshenghang marked this pull request as draft December 16, 2025 11:12
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