Skip to content

Update ChiSqSelectorExample to show import#28533

Closed
gfosco wants to merge 1 commit intoapache:masterfrom
gfosco:patch-1
Closed

Update ChiSqSelectorExample to show import#28533
gfosco wants to merge 1 commit intoapache:masterfrom
gfosco:patch-1

Conversation

@gfosco
Copy link

@gfosco gfosco commented May 14, 2020

I found this via the mailing list, a user had submitted this change to the spark-website repo and was told to submit it here. Six times that happened. So here is the change, just moving the import into the example block.

ref: http://apache-spark-developers-list.1001551.n3.nabble.com/Block-a-user-from-spark-website-who-repeatedly-open-the-invalid-same-PR-td28759.html

What changes were proposed in this pull request?

Moving 1 line into an example block.

Why are the changes needed?

To make a website example clearer.

Does this PR introduce any user-facing change?

No

I found this via the mailing list, a user had submitted this change to the spark-website repo and was told to submit it here.  Six times that happened.  So here is the change, just moving the import into the example block.

ref: http://apache-spark-developers-list.1001551.n3.nabble.com/Block-a-user-from-spark-website-who-repeatedly-open-the-invalid-same-PR-td28759.html
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

import spark.implicits._

// $example on$
import spark.implicits._
Copy link
Member

Choose a reason for hiding this comment

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

I think this isn't required when you run a Spark shell. Looks intentionally excluded given that val spark initialization isn't involved already.

Copy link
Author

Choose a reason for hiding this comment

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

Ok, I'll go ahead and close the PR. Thanks for the review.

@gfosco gfosco closed this May 15, 2020
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