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-48227][PYTHON][DOC] Document the requirement of seed in protos #46518

Closed
wants to merge 1 commit into from

Conversation

zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented May 9, 2024

What changes were proposed in this pull request?

Document the requirement of seed in protos

Why are the changes needed?

the seed should be set at client side

document it to avoid cases like #46456

Does this PR introduce any user-facing change?

no

How was this patch tested?

ci

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

no

init

test
// (Optional) The random seed.
// (Required) The random seed.
// This filed is required to avoid generate mutable dataframes (see SPARK-48184 for details),
// however, still keep it 'optional' here for backward compatibility.
optional int64 seed = 5;
Copy link
Member

Choose a reason for hiding this comment

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

Ya, this looks like inevitable.

@dongjoon-hyun
Copy link
Member

Merged to master.

@zhengruifeng
Copy link
Contributor Author

thanks @HyukjinKwon and @dongjoon-hyun for reviews

@zhengruifeng zhengruifeng deleted the doc_random branch May 10, 2024 00:13
JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
### What changes were proposed in this pull request?
Document the requirement of seed in protos

### Why are the changes needed?
the seed should be set at client side

document it to avoid cases like apache#46456

### Does this PR introduce _any_ user-facing change?
no

### How was this patch tested?
ci

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

Closes apache#46518 from zhengruifeng/doc_random.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
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.

3 participants