Skip to content

Conversation

@amaliujia
Copy link
Contributor

What changes were proposed in this pull request?

To match existing Python DataFarme API, this PR changes the Range.step as required and Python client keep 1 as a default value for this field.

Why are the changes needed?

Matching existing DataFrame API.

Does this PR introduce any user-facing change?

NO

How was this patch tested?

UT

@amaliujia
Copy link
Contributor Author

R: @zhengruifeng

I sent out this PR based on your suggestion.

@amaliujia amaliujia changed the title [SC-114545][SPARK-40883][CONNECT] Range.step is required and Python client should have a default value=1 [SC-114545][SPARK-40883][CONNECT][FOLLOW-UP] Range.step is required and Python client should have a default value=1 Nov 1, 2022
@HyukjinKwon HyukjinKwon changed the title [SC-114545][SPARK-40883][CONNECT][FOLLOW-UP] Range.step is required and Python client should have a default value=1 [SPARK-40883][CONNECT][FOLLOW-UP] Range.step is required and Python client should have a default value=1 Nov 2, 2022
@zhengruifeng
Copy link
Contributor

merged to master

SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
…lient should have a default value=1

### What changes were proposed in this pull request?

To match existing Python DataFarme API, this PR changes the `Range.step` as required and Python client keep `1` as a default value for this field.

### Why are the changes needed?

Matching existing DataFrame API.

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

NO

### How was this patch tested?

UT

Closes apache#38471 from amaliujia/range_step_required.

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

2 participants