-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
[SPARK-35909][DOCS] Fix broken Python Links in docs/sql-getting-started.md #33107
Conversation
Can one of the admins verify this patch? |
@@ -41,7 +41,7 @@ The entry point into all functionality in Spark is the [`SparkSession`](api/java | |||
|
|||
<div data-lang="python" markdown="1"> | |||
|
|||
The entry point into all functionality in Spark is the [`SparkSession`](api/python/pyspark.sql.html#pyspark.sql.SparkSession) class. To create a basic `SparkSession`, just use `SparkSession.builder`: | |||
The entry point into all functionality in Spark is the [`SparkSession`](api/python/reference/api/pyspark.sql.SparkSession.html) class. To create a basic `SparkSession`, just use `SparkSession.builder`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @dhruvildave . Just a question, in Apache Spark website, the original one seems to work correctly. Do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello! Thanks for the review. I have created a small video showing exactly where the errors are encountered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, got it. It's inside Python tab. I missed the point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you, @dhruvildave .
Merged to master/3.1/3.0.
…ed.md ### What changes were proposed in this pull request? The hyperlinks in Python code blocks in [Spark SQL Guide - Getting Started](https://spark.apache.org/docs/latest/sql-getting-started.html) currently point to invalid addresses and return 404. This pull request fixes that issue by pointing them to correct links in Python API docs. ### Why are the changes needed? Error in documentation classifies as a bug and hence needs to be fixed. ### Does this PR introduce _any_ user-facing change? Yes. This PR fixes documentation error in https://spark.apache.org/docs/latest/sql-getting-started.html ### How was this patch tested? This patch was locally built after cloning the repo from scratch and then doing a clean build after fixing the required problems. Closes #33107 from dhruvildave/sql-doc. Authored-by: Dhruvil Dave <dhruvil.dave@outlook.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit a7369b3) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
…ed.md ### What changes were proposed in this pull request? The hyperlinks in Python code blocks in [Spark SQL Guide - Getting Started](https://spark.apache.org/docs/latest/sql-getting-started.html) currently point to invalid addresses and return 404. This pull request fixes that issue by pointing them to correct links in Python API docs. ### Why are the changes needed? Error in documentation classifies as a bug and hence needs to be fixed. ### Does this PR introduce _any_ user-facing change? Yes. This PR fixes documentation error in https://spark.apache.org/docs/latest/sql-getting-started.html ### How was this patch tested? This patch was locally built after cloning the repo from scratch and then doing a clean build after fixing the required problems. Closes #33107 from dhruvildave/sql-doc. Authored-by: Dhruvil Dave <dhruvil.dave@outlook.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit a7369b3) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
I added you to the Apache Spark contributor group and assigned SPARK-35909 to you. Welcome! :) |
Thanks @dhruvildave! |
…ed.md ### What changes were proposed in this pull request? The hyperlinks in Python code blocks in [Spark SQL Guide - Getting Started](https://spark.apache.org/docs/latest/sql-getting-started.html) currently point to invalid addresses and return 404. This pull request fixes that issue by pointing them to correct links in Python API docs. ### Why are the changes needed? Error in documentation classifies as a bug and hence needs to be fixed. ### Does this PR introduce _any_ user-facing change? Yes. This PR fixes documentation error in https://spark.apache.org/docs/latest/sql-getting-started.html ### How was this patch tested? This patch was locally built after cloning the repo from scratch and then doing a clean build after fixing the required problems. Closes apache#33107 from dhruvildave/sql-doc. Authored-by: Dhruvil Dave <dhruvil.dave@outlook.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit a7369b3) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
The hyperlinks in Python code blocks in Spark SQL Guide - Getting Started currently point to invalid addresses and return 404. This pull request fixes that issue by pointing them to correct links in Python API docs.
Why are the changes needed?
Error in documentation classifies as a bug and hence needs to be fixed.
Does this PR introduce any user-facing change?
Yes. This PR fixes documentation error in https://spark.apache.org/docs/latest/sql-getting-started.html
How was this patch tested?
This patch was locally built after cloning the repo from scratch and then doing a clean build after fixing the required problems.