-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Fix][Formats][Protobuf] Ensure case-sensitive field names are preserved in Protobuf serialization and deserialization #10194
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
base: dev
Are you sure you want to change the base?
Conversation
…otobuf serialization and deserialization
| public void testProtobufCaseSensitiveFieldNames(TestContainer container) | ||
| throws IOException, InterruptedException, URISyntaxException { | ||
| Container.ExecResult execResult = | ||
| container.executeJob("/protobuf/fake_to_kafka_protobuf_case_sensitive.conf"); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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 = |
There was a problem hiding this comment.
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()
…tobuf serialization and deserialization
…tion tests to ensure correct order and inclusion
…erialization tests
…erialization tests
…field names and error handling
…improve nested message type naming
…
Purpose of this pull request
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
incompatible-changes.mdto describe the incompatibility caused by this PR.