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

[SEDONA-208] Use Spark RuntimeConfig in SedonaConf #722

Merged
merged 1 commit into from
Dec 3, 2022

Conversation

umartin
Copy link
Contributor

@umartin umartin commented Dec 2, 2022

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Use dynamic runtime configuration in Sedona

How was this patch tested?

Unit tests added

Did this PR include necessary documentation updates?

  • Yes, I have updated the documentation update.

@@ -61,13 +61,9 @@ trait TraitJoinQueryExec extends TraitJoinQueryBase {
if (sedonaConf.getJoinApproximateTotalCount == -1) {
if (sedonaConf.getJoinSparitionDominantSide == JoinSparitionDominantSide.LEFT) {
leftShapes.analyze()
sedonaConf.setJoinApproximateTotalCount(leftShapes.approximateTotalCount)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These where set but never read

Copy link
Member

Choose a reason for hiding this comment

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

I also forgot why it was set but not used...

@jiayuasu jiayuasu merged commit d5fe2b4 into apache:master Dec 3, 2022
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.

None yet

2 participants