Name Last modified Size Description
Parent Directory -
js/ 2024-08-16 21:44 -
img/ 2024-08-16 21:44 -
css/ 2024-08-16 21:44 -
api/ 2024-08-16 21:44 -
web-ui.html 2024-08-16 21:06 45K
tuning.html 2024-08-16 21:06 40K
submitting-applications.html 2024-08-16 21:06 31K
structured-streaming-programming-guide.html 2024-08-16 21:06 302K
structured-streaming-kafka-integration.html 2024-08-16 21:06 92K
streaming-programming-guide.html 2024-08-16 21:06 219K
streaming-kinesis-integration.html 2024-08-16 21:06 33K
streaming-kafka-integration.html 2024-08-16 21:06 12K
streaming-kafka-0-10-integration.html 2024-08-16 21:06 51K
streaming-custom-receivers.html 2024-08-16 21:06 33K
storage-openstack-swift.html 2024-08-16 21:06 18K
ss-migration-guide.html 2024-08-16 21:06 18K
sql-reference.html 2024-08-16 21:06 397
sql-ref.html 2024-08-16 21:06 16K
sql-ref-syntax.html 2024-08-16 21:06 22K
sql-ref-syntax-qry-select.html 2024-08-16 21:06 29K
sql-ref-syntax-qry-select-window.html 2024-08-16 21:06 52K
sql-ref-syntax-qry-select-where.html 2024-08-16 21:06 26K
sql-ref-syntax-qry-select-tvf.html 2024-08-16 21:06 31K
sql-ref-syntax-qry-select-transform.html 2024-08-16 21:06 42K
sql-ref-syntax-qry-select-subqueries.html 2024-08-16 21:06 15K
sql-ref-syntax-qry-select-sortby.html 2024-08-16 21:06 35K
sql-ref-syntax-qry-select-setops.html 2024-08-16 21:06 30K
sql-ref-syntax-qry-select-sampling.html 2024-08-16 21:06 22K
sql-ref-syntax-qry-select-pivot.html 2024-08-16 21:06 26K
sql-ref-syntax-qry-select-orderby.html 2024-08-16 21:06 27K
sql-ref-syntax-qry-select-limit.html 2024-08-16 21:06 23K
sql-ref-syntax-qry-select-like.html 2024-08-16 21:06 33K
sql-ref-syntax-qry-select-lateral-view.html 2024-08-16 21:06 33K
sql-ref-syntax-qry-select-join.html 2024-08-16 21:06 39K
sql-ref-syntax-qry-select-inline-table.html 2024-08-16 21:06 20K
sql-ref-syntax-qry-select-hints.html 2024-08-16 21:06 32K
sql-ref-syntax-qry-select-having.html 2024-08-16 21:06 26K
sql-ref-syntax-qry-select-groupby.html 2024-08-16 21:06 53K
sql-ref-syntax-qry-select-file.html 2024-08-16 21:06 19K
sql-ref-syntax-qry-select-distribute-by.html 2024-08-16 21:06 22K
sql-ref-syntax-qry-select-cte.html 2024-08-16 21:06 24K
sql-ref-syntax-qry-select-clusterby.html 2024-08-16 21:06 22K
sql-ref-syntax-qry-select-case.html 2024-08-16 21:06 26K
sql-ref-syntax-qry-explain.html 2024-08-16 21:06 23K
sql-ref-syntax-hive-format.html 2024-08-16 21:06 18K
sql-ref-syntax-dml-load.html 2024-08-16 21:06 26K
sql-ref-syntax-dml-insert-overwrite-table.html 2024-08-16 21:06 42K
sql-ref-syntax-dml-insert-overwrite-directory.html 2024-08-16 21:06 21K
sql-ref-syntax-dml-insert-overwrite-directory-hive.html 2024-08-16 21:06 21K
sql-ref-syntax-dml-insert-into.html 2024-08-16 21:06 45K
sql-ref-syntax-ddl-usedb.html 2024-08-16 21:06 17K
sql-ref-syntax-ddl-truncate-table.html 2024-08-16 21:06 20K
sql-ref-syntax-ddl-repair-table.html 2024-08-16 21:06 20K
sql-ref-syntax-ddl-drop-view.html 2024-08-16 21:06 18K
sql-ref-syntax-ddl-drop-table.html 2024-08-16 21:06 19K
sql-ref-syntax-ddl-drop-function.html 2024-08-16 21:06 21K
sql-ref-syntax-ddl-drop-database.html 2024-08-16 21:06 18K
sql-ref-syntax-ddl-create-view.html 2024-08-16 21:06 20K
sql-ref-syntax-ddl-create-table.html 2024-08-16 21:06 15K
sql-ref-syntax-ddl-create-table-like.html 2024-08-16 21:06 20K
sql-ref-syntax-ddl-create-table-hiveformat.html 2024-08-16 21:06 32K
sql-ref-syntax-ddl-create-table-datasource.html 2024-08-16 21:06 27K
sql-ref-syntax-ddl-create-function.html 2024-08-16 21:06 25K
sql-ref-syntax-ddl-create-database.html 2024-08-16 21:06 21K
sql-ref-syntax-ddl-alter-view.html 2024-08-16 21:06 35K
sql-ref-syntax-ddl-alter-table.html 2024-08-16 21:06 54K
sql-ref-syntax-ddl-alter-database.html 2024-08-16 21:06 23K
sql-ref-syntax-aux-show.html 2024-08-16 21:06 15K
sql-ref-syntax-aux-show-views.html 2024-08-16 21:06 26K
sql-ref-syntax-aux-show-tblproperties.html 2024-08-16 21:06 22K
sql-ref-syntax-aux-show-tables.html 2024-08-16 21:06 23K
sql-ref-syntax-aux-show-table.html 2024-08-16 21:06 43K
sql-ref-syntax-aux-show-partitions.html 2024-08-16 21:06 24K
sql-ref-syntax-aux-show-functions.html 2024-08-16 21:06 23K
sql-ref-syntax-aux-show-databases.html 2024-08-16 21:06 19K
sql-ref-syntax-aux-show-create-table.html 2024-08-16 21:06 21K
sql-ref-syntax-aux-show-columns.html 2024-08-16 21:06 20K
sql-ref-syntax-aux-resource-mgmt.html 2024-08-16 21:06 15K
sql-ref-syntax-aux-resource-mgmt-list-jar.html 2024-08-16 21:06 19K
sql-ref-syntax-aux-resource-mgmt-list-file.html 2024-08-16 21:06 18K
sql-ref-syntax-aux-resource-mgmt-list-archive.html 2024-08-16 21:06 18K
sql-ref-syntax-aux-resource-mgmt-add-jar.html 2024-08-16 21:06 18K
sql-ref-syntax-aux-resource-mgmt-add-file.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-resource-mgmt-add-archive.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-describe.html 2024-08-16 21:06 15K
sql-ref-syntax-aux-describe-table.html 2024-08-16 21:06 40K
sql-ref-syntax-aux-describe-query.html 2024-08-16 21:06 24K
sql-ref-syntax-aux-describe-function.html 2024-08-16 21:06 27K
sql-ref-syntax-aux-describe-database.html 2024-08-16 21:06 23K
sql-ref-syntax-aux-conf-mgmt.html 2024-08-16 21:06 15K
sql-ref-syntax-aux-conf-mgmt-set.html 2024-08-16 21:06 18K
sql-ref-syntax-aux-conf-mgmt-set-timezone.html 2024-08-16 21:06 19K
sql-ref-syntax-aux-conf-mgmt-reset.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-cache.html 2024-08-16 21:06 15K
sql-ref-syntax-aux-cache-uncache-table.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-cache-refresh.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-cache-refresh-table.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-cache-refresh-function.html 2024-08-16 21:06 17K
sql-ref-syntax-aux-cache-clear-cache.html 2024-08-16 21:06 16K
sql-ref-syntax-aux-cache-cache-table.html 2024-08-16 21:06 20K
sql-ref-syntax-aux-analyze-table.html 2024-08-16 21:06 35K
sql-ref-null-semantics.html 2024-08-16 21:06 73K
sql-ref-literals.html 2024-08-16 21:06 60K
sql-ref-identifier.html 2024-08-16 21:06 18K
sql-ref-functions.html 2024-08-16 21:06 16K
sql-ref-functions-udf-scalar.html 2024-08-16 21:06 29K
sql-ref-functions-udf-hive.html 2024-08-16 21:06 23K
sql-ref-functions-udf-aggregate.html 2024-08-16 21:06 57K
sql-ref-functions-builtin.html 2024-08-16 21:06 351K
sql-ref-datetime-pattern.html 2024-08-16 21:06 33K
sql-ref-datatypes.html 2024-08-16 21:06 57K
sql-ref-ansi-compliance.html 2024-08-16 21:06 86K
sql-pyspark-pandas-with-arrow.html 2024-08-16 21:06 13K
sql-programming-guide.html 2024-08-16 21:06 17K
sql-performance-tuning.html 2024-08-16 21:06 36K
sql-migration-old.html 2024-08-16 21:06 13K
sql-migration-guide.html 2024-08-16 21:06 170K
sql-getting-started.html 2024-08-16 21:06 107K
sql-distributed-sql-engine.html 2024-08-16 21:06 20K
sql-data-sources.html 2024-08-16 21:06 19K
sql-data-sources-troubleshooting.html 2024-08-16 21:06 16K
sql-data-sources-text.html 2024-08-16 21:06 29K
sql-data-sources-parquet.html 2024-08-16 21:06 75K
sql-data-sources-orc.html 2024-08-16 21:06 28K
sql-data-sources-load-save-functions.html 2024-08-16 21:06 64K
sql-data-sources-json.html 2024-08-16 21:06 40K
sql-data-sources-jdbc.html 2024-08-16 21:06 49K
sql-data-sources-hive-tables.html 2024-08-16 21:06 54K
sql-data-sources-generic-options.html 2024-08-16 21:06 42K
sql-data-sources-csv.html 2024-08-16 21:06 43K
sql-data-sources-binaryFile.html 2024-08-16 21:06 19K
sql-data-sources-avro.html 2024-08-16 21:06 53K
sparkr.html 2024-08-16 21:06 91K
sparkr-migration-guide.html 2024-08-16 21:06 24K
spark-standalone.html 2024-08-16 21:06 46K
security.html 2024-08-16 21:06 59K
running-on-yarn.html 2024-08-16 21:06 70K
running-on-mesos.html 2024-08-16 21:06 61K
running-on-kubernetes.html 2024-08-16 21:06 108K
redirects.json 2024-08-16 21:06 85
rdd-programming-guide.html 2024-08-16 21:06 163K
quick-start.html 2024-08-16 21:06 56K
pyspark-migration-guide.html 2024-08-16 21:06 13K
programming-guide.html 2024-08-16 21:06 12K
monitoring.html 2024-08-16 21:06 84K
mllib-statistics.html 2024-08-16 21:06 112K
mllib-pmml-model-export.html 2024-08-16 21:06 21K
mllib-optimization.html 2024-08-16 21:06 52K
mllib-naive-bayes.html 2024-08-16 21:06 35K
mllib-linear-methods.html 2024-08-16 21:06 81K
mllib-isotonic-regression.html 2024-08-16 21:06 39K
mllib-guide.html 2024-08-16 21:06 19K
mllib-frequent-pattern-mining.html 2024-08-16 21:06 52K
mllib-feature-extraction.html 2024-08-16 21:06 78K
mllib-evaluation-metrics.html 2024-08-16 21:06 155K
mllib-ensembles.html 2024-08-16 21:06 118K
mllib-dimensionality-reduction.html 2024-08-16 21:06 50K
mllib-decision-tree.html 2024-08-16 21:06 75K
mllib-data-types.html 2024-08-16 21:06 93K
mllib-collaborative-filtering.html 2024-08-16 21:06 46K
mllib-clustering.html 2024-08-16 21:06 128K
mllib-classification-regression.html 2024-08-16 21:06 18K
ml-tuning.html 2024-08-16 21:06 80K
ml-survival-regression.html 2024-08-16 21:06 15K
ml-statistics.html 2024-08-16 21:06 65K
ml-pipeline.html 2024-08-16 21:06 101K
ml-migration-guide.html 2024-08-16 21:06 69K
ml-linear-methods.html 2024-08-16 21:06 15K
ml-linalg-guide.html 2024-08-16 21:06 22K
ml-guide.html 2024-08-16 21:06 25K
ml-frequent-pattern-mining.html 2024-08-16 21:06 50K
ml-features.html 2024-08-16 21:06 612K
ml-ensembles.html 2024-08-16 21:06 15K
ml-decision-tree.html 2024-08-16 21:06 15K
ml-datasource.html 2024-08-16 21:06 49K
ml-collaborative-filtering.html 2024-08-16 21:06 64K
ml-clustering.html 2024-08-16 21:06 91K
ml-classification-regression.html 2024-08-16 21:06 463K
ml-ann.html 2024-08-16 21:06 15K
ml-advanced.html 2024-08-16 21:06 23K
migration-guide.html 2024-08-16 21:06 13K
job-scheduling.html 2024-08-16 21:06 37K
hardware-provisioning.html 2024-08-16 21:06 16K
hadoop-provided.html 2024-08-16 21:06 15K
graphx-programming-guide.html 2024-08-16 21:06 169K
generated-window-funcs-table.html 2024-08-16 21:06 2.7K
generated-window-funcs-examples.html 2024-08-16 21:06 44K
generated-static-sql-config-table.html 2024-08-16 21:06 7.7K
generated-runtime-sql-config-table.html 2024-08-16 21:06 48K
generated-map-funcs-table.html 2024-08-16 21:06 2.1K
generated-map-funcs-examples.html 2024-08-16 21:06 17K
generated-json-funcs-table.html 2024-08-16 21:06 1.2K
generated-json-funcs-examples.html 2024-08-16 21:06 19K
generated-datetime-funcs-table.html 2024-08-16 21:06 9.4K
generated-datetime-funcs-examples.html 2024-08-16 21:06 129K
generated-array-funcs-table.html 2024-08-16 21:06 4.0K
generated-array-funcs-examples.html 2024-08-16 21:06 42K
generated-agg-funcs-table.html 2024-08-16 21:06 8.3K
generated-agg-funcs-examples.html 2024-08-16 21:06 101K
core-migration-guide.html 2024-08-16 21:06 20K
configuration.html 2024-08-16 21:06 209K
cluster-overview.html 2024-08-16 21:06 18K
cloud-integration.html 2024-08-16 21:06 30K
building-with-maven.html 2024-08-16 21:06 425
building-spark.html 2024-08-16 21:06 34K
README.html 2024-08-16 21:06 8.6K
Welcome to the Spark documentation!
This readme will walk you through navigating and building the Spark documentation, which is included here with the Spark source code. You can also find documentation specific to release versions of Spark at https://spark.apache.org/documentation.html.
Read on to learn more about viewing documentation in plain text (i.e., markdown) or building the documentation yourself. Why build it yourself? So that you have the docs that correspond to whichever version of Spark you currently have checked out of revision control.
The Spark documentation build uses a number of tools to build HTML docs and API docs in Scala, Java, Python, R and SQL.
You need to have Ruby and
Python
installed. Make sure the bundle
command is available, if not install the Gem containing it:
$ sudo gem install bundler
After this all the required ruby dependencies can be installed from the docs/
directory via the Bundler:
$ cd docs
$ bundle install
Note: If you are on a system with both Ruby 1.9 and Ruby 2.0 you may need to replace gem with gem2.0.
If you’d like to generate R documentation, you’ll need to install Pandoc and install these libraries:
$ sudo Rscript -e 'install.packages(c("knitr", "devtools", "testthat", "rmarkdown"), repos="https://cloud.r-project.org/")'
$ sudo Rscript -e 'devtools::install_version("roxygen2", version = "7.1.1", repos="https://cloud.r-project.org/")'
Note: Other versions of roxygen2 might work in SparkR documentation generation but RoxygenNote
field in $SPARK_HOME/R/pkg/DESCRIPTION
is 7.1.1, which is updated if the version is mismatched.
To generate API docs for any language, you’ll need to install these libraries:
$ sudo pip install 'sphinx<3.1.0' mkdocs numpy pydata_sphinx_theme ipython nbsphinx numpydoc sphinx-plotly-directive 'jinja2<3.0.0'
We include the Spark documentation as part of the source (as opposed to using a hosted wiki, such as the github wiki, as the definitive documentation) to enable the documentation to evolve along with the source code and be captured by revision control (currently git). This way the code automatically includes the version of the documentation that is relevant regardless of which version or release you have checked out or downloaded.
In this directory you will find text files formatted using Markdown, with an “.md” suffix. You can
read those text files directly if you want. Start with index.md
.
Execute bundle exec jekyll build
from the docs/
directory to compile the site. Compiling the site with
Jekyll will create a directory called _site
containing index.html
as well as the rest of the
compiled files.
$ cd docs
$ bundle exec jekyll build
You can modify the default Jekyll build as follows:
# Skip generating API docs (which takes a while)
$ SKIP_API=1 bundle exec jekyll build
# Serve content locally on port 4000
$ bundle exec jekyll serve --watch
# Build the site with extra features used on the live page
$ PRODUCTION=1 bundle exec jekyll build
You can build just the Spark scaladoc and javadoc by running ./build/sbt unidoc
from the $SPARK_HOME
directory.
Similarly, you can build just the PySpark docs by running make html
from the
$SPARK_HOME/python/docs
directory. Documentation is only generated for classes that are listed as
public in __init__.py
. The SparkR docs can be built by running $SPARK_HOME/R/create-docs.sh
, and
the SQL docs can be built by running $SPARK_HOME/sql/create-docs.sh
after building Spark first.
When you run bundle exec jekyll build
in the docs
directory, it will also copy over the scaladoc and javadoc for the various
Spark subprojects into the docs
directory (and then also into the _site
directory). We use a
jekyll plugin to run ./build/sbt unidoc
before building the site so if you haven’t run it (recently) it
may take some time as it generates all of the scaladoc and javadoc using Unidoc.
The jekyll plugin also generates the PySpark docs using Sphinx, SparkR docs
using roxygen2 and SQL docs
using MkDocs.
NOTE: To skip the step of building and copying over the Scala, Java, Python, R and SQL API docs, run SKIP_API=1
bundle exec jekyll build
. In addition, SKIP_SCALADOC=1
, SKIP_PYTHONDOC=1
, SKIP_RDOC=1
and SKIP_SQLDOC=1
can be used
to skip a single step of the corresponding language. SKIP_SCALADOC
indicates skipping both the Scala and Java docs.