Skip to content
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

[SPARK-50967][SS] Document the case where keys part of the initial state df are also emitted as part of the output #49630

Closed
wants to merge 1 commit into from

Conversation

anishshri-db
Copy link
Contributor

What changes were proposed in this pull request?

Document the case where keys part of the initial state df are also emitted as part of the output

Why are the changes needed?

Explain the case where the initial state might generate unexpected output

Does this PR introduce any user-facing change?

No

How was this patch tested?

Docs only change

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the DOCS label Jan 23, 2025
@anishshri-db
Copy link
Contributor Author

cc - @HeartSaVioR - PTAL

there are a couple different ways to fix this:

  • document the existing behavior as a limitation
  • add a new flag and change the behavior if the feature is enabled (which is a moderate'ish change)

Also, with the new transformWithState operator not having this issue - I wonder whether we should just document this case as such

@anishshri-db anishshri-db changed the title [SPARK-50967] Document the case where keys part of the initial state df are also emitted as part of the output [SPARK-50967][SS] Document the case where keys part of the initial state df are also emitted as part of the output Jan 23, 2025
@anishshri-db
Copy link
Contributor Author

Discussed offline and we will close this in favor of this PR - #49632 Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant