Skip to content

Use nested context in java TestStream - #36412

Closed
shunping wants to merge 1 commit into
apache:masterfrom
shunping:issue-36387
Closed

Use nested context in java TestStream#36412
shunping wants to merge 1 commit into
apache:masterfrom
shunping:issue-36387

Conversation

@shunping

@shunping shunping commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

addresses #36387

@shunping

shunping commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator Author

Added a test-only PR and test it against the internal tests:

#36414

// Hack for Java Strings in test stream, since it doesn't encode them correctly.
forceLP := cID == "StringUtf8Coder" || cID != pyld.GetCoderId()
// the coder from teststream payload has to be LP'ed
forceLP := cID != pyld.GetCoderId()

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The java hack is only relevant to "StringUtf8Coder". If the coder has been LP'ed, we have to the data too.

@shunping shunping closed this Oct 7, 2025
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.

1 participant