Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Oct 12, 2022

What changes were proposed in this pull request?

This PR aims to improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support float values by converging to doubleConf from intConf.

Why are the changes needed?

Like spark.sql.adaptive.rebalancePartitionsSmallPartitionFactor, this allows users to use the configuration more flexibly.

Does this PR introduce any user-facing change?

Yes, but it will accept all previous Integer configuration values.

How was this patch tested?

Pass the CIs with the changed default value, 5.0.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-40772][SQL] Improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support float values [SPARK-40772][SQL] Improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support float values Oct 12, 2022
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-40772][SQL] Improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support float values [SPARK-40772][SQL] Improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support double values Oct 12, 2022
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-40772][SQL] Improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support double values [SPARK-40772][SQL] Improve spark.sql.adaptive.skewJoin.skewedPartitionFactor to support Double values Oct 12, 2022
@dongjoon-hyun
Copy link
Member Author

Could you review this please, @viirya ?

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya . Merged to master for Apache Spark 3.4.0.

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