Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
[SPARK-36338][PYTHON][FOLLOW-UP] Keep the original default value as '…
Browse files Browse the repository at this point in the history
…sequence' in default index in pandas on Spark

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

This PR is a followup of apache#33570, which mistakenly changed the default value of the default index

### Why are the changes needed?

It was mistakenly changed. It was changed to check if the tests actually pass but I forgot to change it back.

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

No, it's not related yet. It fixes up the mistake of the default value mistakenly changed.
(Changed default value makes the test flaky because of the order affected by extra shuffle)

### How was this patch tested?

Manually tested.

Closes apache#33596 from HyukjinKwon/SPARK-36338-followup.

Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
HyukjinKwon committed Jul 30, 2021
1 parent 0e65ed5 commit 74a6b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/pandas/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def validate(self, v: Any) -> None:
Option(
key="compute.default_index_type",
doc=("This sets the default index type: sequence, distributed and distributed-sequence."),
default="distributed-sequence",
default="sequence",
types=str,
check_func=(
lambda v: v in ("sequence", "distributed", "distributed-sequence"),
Expand Down

0 comments on commit 74a6b9d

Please sign in to comment.