-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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-44997][DOCS] Align example order (Python -> Scala/Java -> R) in all Spark Doc Content #42712
Closed
Closed
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
68e631b
[SPARK-44997][DOCS] Align example order (Python -> Scala/Java -> R) i…
panbingkun 10f3177
[SPARK-44997][DOCS] Align example order (Python -> Scala/Java -> R) i…
panbingkun 01b3dd9
[SPARK-44997][DOCS] Align example order (Python -> Scala/Java -> R) i…
panbingkun 67c0faf
[SPARK-44997][DOCS] Align example order (Python -> Scala/Java -> R) i…
panbingkun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,9 +71,9 @@ | |
<li class="nav-item dropdown"> | ||
<a href="#" class="nav-link dropdown-toggle" id="navbarAPIDocs" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">API Docs</a> | ||
<div class="dropdown-menu" aria-labelledby="navbarAPIDocs"> | ||
<a class="dropdown-item" href="api/python/index.html">Python</a> | ||
<a class="dropdown-item" href="api/scala/org/apache/spark/index.html">Scala</a> | ||
<a class="dropdown-item" href="api/java/index.html">Java</a> | ||
<a class="dropdown-item" href="api/python/index.html">Python</a> | ||
<a class="dropdown-item" href="api/R/index.html">R</a> | ||
<a class="dropdown-item" href="api/sql/index.html">SQL, Built-in Functions</a> | ||
</div> | ||
|
@@ -128,7 +128,7 @@ <h1 style="max-width: 680px;">Apache Spark - A Unified engine for large-scale da | |
<div class="row mt-5"> | ||
<div class="col-12 col-lg-6 no-gutters"> | ||
Apache Spark is a unified analytics engine for large-scale data processing. | ||
It provides high-level APIs in Java, Scala, Python and R, | ||
It provides high-level APIs in Python, Scala, Java and R, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, I'm -1 with this. |
||
and an optimized engine that supports general execution graphs. | ||
It also supports a rich set of higher-level tools including | ||
<a href="sql-programming-guide.html">Spark SQL</a> for SQL and structured data processing, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ source, visit [Building Spark](building-spark.html). | |
|
||
Spark runs on both Windows and UNIX-like systems (e.g. Linux, Mac OS), and it should run on any platform that runs a supported version of Java. This should include JVMs on x86_64 and ARM64. It's easy to run locally on one machine --- all you need is to have `java` installed on your system `PATH`, or the `JAVA_HOME` environment variable pointing to a Java installation. | ||
|
||
Spark runs on Java 8/11/17, Scala 2.12/2.13, Python 3.8+, and R 3.5+. | ||
Spark runs on Python 3.8+, Scala 2.12/2.13, Java 8/11/17 and R 3.5+. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -1 for this change. |
||
Java 8 prior to version 8u371 support is deprecated as of Spark 3.5.0. | ||
When using the Scala API, it is necessary for applications to use the same version of Scala that Spark was compiled for. | ||
For example, when using Scala 2.13, use Spark compiled for 2.13, and compile code/applications for Scala 2.13 as well. | ||
|
@@ -120,9 +120,9 @@ options for deployment: | |
|
||
**API Docs:** | ||
|
||
* [Spark Python API (Sphinx)](api/python/index.html) | ||
* [Spark Scala API (Scaladoc)](api/scala/org/apache/spark/index.html) | ||
* [Spark Java API (Javadoc)](api/java/index.html) | ||
* [Spark Python API (Sphinx)](api/python/index.html) | ||
* [Spark R API (Roxygen2)](api/R/index.html) | ||
* [Spark SQL, Built-in Functions (MkDocs)](api/sql/index.html) | ||
|
||
|
@@ -163,7 +163,8 @@ options for deployment: | |
* AMP Camps: a series of training camps at UC Berkeley that featured talks and | ||
exercises about Spark, Spark Streaming, Mesos, and more. [Videos](https://www.youtube.com/user/BerkeleyAMPLab/search?query=amp%20camp), | ||
are available online for free. | ||
* [Code Examples](https://spark.apache.org/examples.html): more are also available in the `examples` subfolder of Spark ([Scala]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/scala/org/apache/spark/examples), | ||
[Java]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/java/org/apache/spark/examples), | ||
* [Code Examples](https://spark.apache.org/examples.html): more are also available in the `examples` subfolder of Spark ( | ||
[Python]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/python), | ||
[Scala]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/scala/org/apache/spark/examples), | ||
[Java]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/java/org/apache/spark/examples), | ||
[R]({{site.SPARK_GITHUB_URL}}/tree/master/examples/src/main/r)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Before:
After: