spark-instrumented-optimizer/docs
Huaxin Gao fda910d4e2 [SPARK-31348][SQL][DOCS] Document Join in SQL Reference
### What changes were proposed in this pull request?
Document join in SQL Reference.

### Why are the changes needed?
To make SQL Reference complete.

### Does this PR introduce any user-facing change?
Yes
<img width="1050" alt="Screen Shot 2020-04-05 at 8 46 47 PM" src="https://user-images.githubusercontent.com/13592258/78521722-ab7efe80-777f-11ea-90f5-1fac09282721.png">

<img width="1049" alt="Screen Shot 2020-04-05 at 8 47 20 PM" src="https://user-images.githubusercontent.com/13592258/78521724-ade15880-777f-11ea-9238-183d999ed918.png">

<img width="1049" alt="Screen Shot 2020-04-05 at 8 47 41 PM" src="https://user-images.githubusercontent.com/13592258/78521726-b043b280-777f-11ea-996f-a8e86d453c01.png">

<img width="1049" alt="Screen Shot 2020-04-05 at 8 48 11 PM" src="https://user-images.githubusercontent.com/13592258/78521731-b3d73980-777f-11ea-85c8-c24798ef41ac.png">

<img width="1049" alt="Screen Shot 2020-04-05 at 8 48 33 PM" src="https://user-images.githubusercontent.com/13592258/78521734-b5a0fd00-777f-11ea-8b2c-96af30f3bf49.png">

### How was this patch tested?
Manually build and check.

Closes #28121 from huaxingao/join.

Authored-by: Huaxin Gao <huaxing@us.ibm.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
2020-04-12 13:57:54 -05:00
..
_data [SPARK-31348][SQL][DOCS] Document Join in SQL Reference 2020-04-12 13:57:54 -05:00
_includes [SPARK-29052][DOCS][ML][PYTHON][CORE][R][SQL][SS] Create a Migration Guide tap in Spark documentation 2019-09-15 11:17:30 -07:00
_layouts [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
_plugins [SPARK-28752][BUILD][DOCS][FOLLOW-UP] Render examples imported from Jekyll properly via Rouge 2020-01-13 10:47:51 +09:00
css [SPARK-31351][DOC] Migration Guide Auditing for Spark 3.0 Release 2020-04-08 12:27:40 +09:00
img [SPARK-30041][SQL][WEBUI] Add Codegen Stage Id to Stage DAG visualization in Web UI 2020-01-18 01:00:45 +08:00
js [SPARK-28004][UI] Update jquery to 3.4.1 2019-06-14 22:19:20 -07:00
.gitignore [SPARK-30510][SQL][DOCS] Publicly document Spark SQL configuration options 2020-02-09 19:20:47 +09:00
_config.yml [SPARK-30950][BUILD] Setting version to 3.1.0-SNAPSHOT 2020-02-25 19:44:31 -08:00
api.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
building-spark.md [SPARK-23435][SPARKR][TESTS] Update testthat to >= 2.0.0 2020-01-29 10:37:08 +09:00
cloud-integration.md [SPARK-29028][DOCS] Add links to IBM Cloud Object Storage connector in cloud-integration.md 2019-09-10 11:19:55 -05:00
cluster-overview.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
configuration.md [SPARK-31269][DOC][FOLLOWUP][MINOR] Add version head of GraphX table 2020-04-08 12:25:06 +09:00
contributing-to-spark.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
core-migration-guide.md [SPARK-31351][DOC] Migration Guide Auditing for Spark 3.0 Release 2020-04-08 12:27:40 +09:00
graphx-programming-guide.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
hadoop-provided.md [SPARK-29574][K8S] Add SPARK_DIST_CLASSPATH to the executor class path 2019-12-16 10:11:50 -08:00
hardware-provisioning.md [MINOR][DOCS] Fix some broken links in docs 2019-04-13 22:27:25 +09:00
index.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
job-scheduling.md [SPARK-22340][PYTHON] Add a mode to pin Python thread into JVM's 2019-11-08 06:44:58 +09:00
migration-guide.md [SPARK-29052][DOCS][ML][PYTHON][CORE][R][SQL][SS] Create a Migration Guide tap in Spark documentation 2019-09-15 11:17:30 -07:00
ml-advanced.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-ann.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
ml-classification-regression.md [SPARK-30819][SPARKR][ML] Add FMRegressor wrapper to SparkR 2020-04-09 19:38:11 -05:00
ml-clustering.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-collaborative-filtering.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-datasource.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-decision-tree.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
ml-ensembles.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
ml-features.md [SPARK-31012][ML][PYSPARK][DOCS] Updating ML API docs for 3.0 changes 2020-03-07 11:42:05 -06:00
ml-frequent-pattern-mining.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-guide.md [SPARK-30934][ML][FOLLOW-UP] Update ml-guide to include MulticlassClassificationEvaluator weight support in highlights 2020-03-26 14:24:53 +08:00
ml-linear-methods.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
ml-migration-guide.md [SPARK-30934][ML][DOCS] Update ml-guide and ml-migration-guide for 3.0 release 2020-03-07 18:09:00 -06:00
ml-pipeline.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-statistics.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
ml-survival-regression.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
ml-tuning.md [SPARK-30933][ML][DOCS] ML, GraphX 3.0 QA: Update user guide for new features & APIs 2020-03-18 13:21:24 -05:00
mllib-classification-regression.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
mllib-clustering.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-collaborative-filtering.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-data-types.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-decision-tree.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-dimensionality-reduction.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-ensembles.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-evaluation-metrics.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-feature-extraction.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-frequent-pattern-mining.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-guide.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
mllib-isotonic-regression.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-linear-methods.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-naive-bayes.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-optimization.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-pmml-model-export.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
mllib-statistics.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
monitoring.md [SPARK-30775][DOC] Improve the description of executor metrics in the monitoring documentation 2020-03-30 18:00:54 -07:00
programming-guide.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
pyspark-migration-guide.md [SPARK-31351][DOC] Migration Guide Auditing for Spark 3.0 Release 2020-04-08 12:27:40 +09:00
quick-start.md [MINOR][DOCS] Fix [[...]] to ... and <code>...</code> in documentation 2020-03-13 16:44:23 -07:00
rdd-programming-guide.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
README.md Revert "[SPARK-30879][DOCS] Refine workflow for building docs" 2020-03-31 16:11:59 +09:00
running-on-kubernetes.md [SPARK-31118][K8S][DOC] Add version information to the configuration of K8S 2020-03-12 09:54:08 +09:00
running-on-mesos.md [SPARK-31109][MESOS][DOC] Add version information to the configuration of Mesos 2020-03-12 11:02:29 +09:00
running-on-yarn.md [SPARK-31092][YARN][DOC] Add version information to the configuration of Yarn 2020-03-12 09:52:57 +09:00
security.md [SPARK-31282][DOC] Supplement version for configuration appear in security doc 2020-03-31 12:33:01 +09:00
spark-standalone.md [SPARK-31295][DOC] Supplement version for configuration appear in doc 2020-03-31 12:33:46 +09:00
sparkr-migration-guide.md [SPARK-31290][R] Add back the deprecated R APIs 2020-04-01 10:38:03 +09:00
sparkr.md [SPARK-30819][SPARKR][ML] Add FMRegressor wrapper to SparkR 2020-04-09 19:38:11 -05:00
sql-data-sources-avro.md [SPARK-31295][DOC] Supplement version for configuration appear in doc 2020-03-31 12:33:46 +09:00
sql-data-sources-binaryFile.md [SPARK-27627][SQL] Make option "pathGlobFilter" as a general option for all file sources 2019-05-09 08:41:43 +09:00
sql-data-sources-generic-options.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-data-sources-hive-tables.md [SPARK-31279][SQL][DOC] Add version information to the configuration of Hive 2020-03-31 12:35:01 +09:00
sql-data-sources-jdbc.md [SPARK-30874][SQL] Support Postgres Kerberos login in JDBC connector 2020-03-12 19:04:35 -07:00
sql-data-sources-json.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-data-sources-load-save-functions.md [SPARK-30506][SQL][DOC] Document for generic file source options/configs 2020-02-05 17:16:38 +08:00
sql-data-sources-orc.md [SPARK-31295][DOC] Supplement version for configuration appear in doc 2020-03-31 12:33:46 +09:00
sql-data-sources-parquet.md [SPARK-31295][DOC] Supplement version for configuration appear in doc 2020-03-31 12:33:46 +09:00
sql-data-sources-troubleshooting.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
sql-data-sources.md [SPARK-30506][SQL][DOC] Document for generic file source options/configs 2020-02-05 17:16:38 +08:00
sql-distributed-sql-engine.md [SPARK-30280][DOC] Update docs for make Hive 2.3 dependency by default 2019-12-21 10:51:28 -08:00
sql-getting-started.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-migration-guide.md [SPARK-31351][DOC] Migration Guide Auditing for Spark 3.0 Release 2020-04-08 12:27:40 +09:00
sql-migration-old.md [SPARK-29052][DOCS][ML][PYTHON][CORE][R][SQL][SS] Create a Migration Guide tap in Spark documentation 2019-09-15 11:17:30 -07:00
sql-performance-tuning.md [SPARK-31333][FOLLOWUP][DOC] Link Join Hints doc in SQL perf tuning guide 2020-04-09 15:03:08 +09:00
sql-programming-guide.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-pyspark-pandas-with-arrow.md [SPARK-30722][DOCS][FOLLOW-UP] Explicitly mention the same entire input/output length restriction of Series Iterator UDF 2020-04-09 16:46:27 +09:00
sql-ref-ansi-compliance.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-datatypes.md [SPARK-29587][DOC][FOLLOWUP] Add SQL tab in the Data Types page 2020-02-08 14:28:15 -08:00
sql-ref-datetime-pattern.md [SPARK-31189][SQL][DOCS] Fix errors and missing parts for datetime pattern document 2020-03-20 21:59:26 +08:00
sql-ref-functions-builtin-aggregate.md [SPARK-31326][SQL][DOCS] Create Function docs structure for SQL Reference 2020-04-03 14:36:03 +09:00
sql-ref-functions-builtin-array.md [SPARK-31326][SQL][DOCS] Create Function docs structure for SQL Reference 2020-04-03 14:36:03 +09:00
sql-ref-functions-builtin-date-time.md [SPARK-31326][SQL][DOCS] Create Function docs structure for SQL Reference 2020-04-03 14:36:03 +09:00
sql-ref-functions-builtin-scalar.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-functions-builtin.md [SPARK-31326][SQL][DOCS] Create Function docs structure for SQL Reference 2020-04-03 14:36:03 +09:00
sql-ref-functions-udf-aggregate.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-functions-udf-hive.md [SPARK-31331][SQL][DOCS] Document Spark integration with Hive UDFs/UDAFs/UDTFs 2020-04-09 13:28:01 -05:00
sql-ref-functions-udf-scalar.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-functions-udf.md [SPARK-31326][SQL][DOCS] Create Function docs structure for SQL Reference 2020-04-03 14:36:03 +09:00
sql-ref-functions.md [SPARK-31326][SQL][DOCS] Create Function docs structure for SQL Reference 2020-04-03 14:36:03 +09:00
sql-ref-nan-semantics.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-null-semantics.md [SQL][DOCS][MINOR] Fix typos and wrong phrases in docs 2020-03-05 16:54:59 -08:00
sql-ref-syntax-aux-analyze-table.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-aux-analyze.md [SPARK-30691][SQL][DOC] Add a few main pages to SQL Reference 2020-01-31 12:52:22 -06:00
sql-ref-syntax-aux-cache-cache-table.md [SPARK-30363][SQL][DOCS][FOLLOWUP] Fix a broken link in SQL Reference 2020-03-29 11:19:24 -05:00
sql-ref-syntax-aux-cache-clear-cache.md [SPARK-30363][SQL][DOCS][FOLLOWUP] Fix a broken link in SQL Reference 2020-03-29 11:19:24 -05:00
sql-ref-syntax-aux-cache-refresh.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-aux-cache-uncache-table.md [SPARK-30363][SQL][DOCS][FOLLOWUP] Fix a broken link in SQL Reference 2020-03-29 11:19:24 -05:00
sql-ref-syntax-aux-cache.md [SPARK-30363][SQL][DOCS][FOLLOWUP] Fix a broken link in SQL Reference 2020-03-29 11:19:24 -05:00
sql-ref-syntax-aux-conf-mgmt-reset.md [SPARK-31234][SQL] ResetCommand should reset config to sc.conf only 2020-03-26 15:03:16 +08:00
sql-ref-syntax-aux-conf-mgmt-set.md [SPARK-28814][SQL][DOC] Document SET/RESET in SQL Reference 2019-09-17 14:36:56 -07:00
sql-ref-syntax-aux-conf-mgmt.md [SPARK-30691][SQL][DOC] Add a few main pages to SQL Reference 2020-01-31 12:52:22 -06:00
sql-ref-syntax-aux-describe-database.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-describe-function.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-describe-query.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-describe-table.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-describe.md [SPARK-30691][SQL][DOC] Add a few main pages to SQL Reference 2020-01-31 12:52:22 -06:00
sql-ref-syntax-aux-refresh-table.md [SPARK-30363][SQL][DOCS][FOLLOWUP] Fix a broken link in SQL Reference 2020-03-29 11:19:24 -05:00
sql-ref-syntax-aux-resource-mgmt-add-file.md [SPARK-30234][SQL][DOCS][FOLOWUP] Update Documentation for ADD FILE and LIST FILE 2020-01-14 09:31:09 +09:00
sql-ref-syntax-aux-resource-mgmt-add-jar.md [SPARK-30342][SQL][DOC] Update LIST FILE/JAR command Documentation 2019-12-29 12:28:01 -06:00
sql-ref-syntax-aux-resource-mgmt-list-file.md [SPARK-30234][SQL][DOCS][FOLOWUP] Update Documentation for ADD FILE and LIST FILE 2020-01-14 09:31:09 +09:00
sql-ref-syntax-aux-resource-mgmt-list-jar.md [SPARK-30342][SQL][DOC] Update LIST FILE/JAR command Documentation 2019-12-29 12:28:01 -06:00
sql-ref-syntax-aux-resource-mgmt.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-aux-show-columns.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-show-create-table.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-show-databases.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-show-functions.md [SQL][DOCS][MINOR] Fix typos and wrong phrases in docs 2020-03-05 16:54:59 -08:00
sql-ref-syntax-aux-show-partitions.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-show-table.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-show-tables.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-syntax-aux-show-tblproperties.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-aux-show-views.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-syntax-aux-show.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-syntax-aux.md [SPARK-30691][SQL][DOC] Add a few main pages to SQL Reference 2020-01-31 12:52:22 -06:00
sql-ref-syntax-ddl-alter-database.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-ddl-alter-table.md [SPARK-30962][SQL][DOC] Documentation for Alter table command phase 2 2020-03-11 08:47:30 +09:00
sql-ref-syntax-ddl-alter-view.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-syntax-ddl-create-database.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-ddl-create-function.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-ddl-create-table-datasource.md [SPARK-30878][SQL][DOC] Improve the CREATE TABLE document 2020-02-20 13:07:52 +08:00
sql-ref-syntax-ddl-create-table-hiveformat.md [SPARK-30878][SQL][DOC] Improve the CREATE TABLE document 2020-02-20 13:07:52 +08:00
sql-ref-syntax-ddl-create-table-like.md [SQL][DOCS][MINOR] Fix typos and wrong phrases in docs 2020-03-05 16:54:59 -08:00
sql-ref-syntax-ddl-create-table.md [SPARK-30878][SQL][DOC] Improve the CREATE TABLE document 2020-02-20 13:07:52 +08:00
sql-ref-syntax-ddl-create-view.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-syntax-ddl-drop-database.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-ddl-drop-function.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-ddl-drop-table.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-ddl-drop-view.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref-syntax-ddl-repair-table.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-ddl-truncate-table.md [SPARK-30085][SQL][DOC] Standardize sql reference 2019-12-02 09:05:40 -06:00
sql-ref-syntax-ddl.md [SPARK-31305][SQL][DOCS] Add a page to list all commands in SQL Reference 2020-04-01 08:42:15 +09:00
sql-ref-syntax-dml-insert-into.md [MINOR][DOC][SQL][CORE] Fix typo in document and comments 2019-12-21 14:08:58 -08:00
sql-ref-syntax-dml-insert-overwrite-directory-hive.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-dml-insert-overwrite-directory.md [SPARK-31133][SQL][DOC] fix sql ref doc for DML 2020-03-23 22:00:50 +08:00
sql-ref-syntax-dml-insert-overwrite-table.md [SPARK-31133][SQL][DOC] fix sql ref doc for DML 2020-03-23 22:00:50 +08:00
sql-ref-syntax-dml-insert.md [SPARK-28786][DOC][SQL] Document INSERT statement in SQL Reference 2019-08-29 09:00:42 -07:00
sql-ref-syntax-dml-load.md [SPARK-31133][SQL][DOC] fix sql ref doc for DML 2020-03-23 22:00:50 +08:00
sql-ref-syntax-dml.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
sql-ref-syntax-qry-aggregation.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-syntax-qry-explain.md [SPARK-28825][SQL][DOC] Documentation for Explain Command 2020-01-08 09:20:39 +09:00
sql-ref-syntax-qry-sampling.md [SPARK-31355][SQL][DOCS] Document TABLESAMPLE in SQL Reference 2020-04-09 19:39:34 -05:00
sql-ref-syntax-qry-select-clusterby.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select-cte.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-syntax-qry-select-distinct.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-syntax-qry-select-distribute-by.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select-groupby.md [SPARK-31358][SQL][DOC] Document FILTER clauses of aggregate functions in SQL references 2020-04-06 21:36:51 +09:00
sql-ref-syntax-qry-select-having.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select-hints.md [SPARK-31348][SQL][DOCS] Document Join in SQL Reference 2020-04-12 13:57:54 -05:00
sql-ref-syntax-qry-select-join.md [SPARK-31348][SQL][DOCS] Document Join in SQL Reference 2020-04-12 13:57:54 -05:00
sql-ref-syntax-qry-select-limit.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select-orderby.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select-setops.md [SPARK-31362][SQL][DOCS] Document Set Operators in SQL Reference 2020-04-08 10:51:04 -05:00
sql-ref-syntax-qry-select-sortby.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select-subqueries.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-syntax-qry-select-usedb.md [SPARK-28822][DOC][SQL] Document USE DATABASE in SQL Reference 2019-09-19 13:04:17 -07:00
sql-ref-syntax-qry-select-where.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax-qry-select.md [SPARK-31348][SQL][DOCS] Document Join in SQL Reference 2020-04-12 13:57:54 -05:00
sql-ref-syntax-qry-window.md [SPARK-28734][DOC] Initial table of content in the left hand side bar for SQL doc 2019-08-18 23:17:50 -07:00
sql-ref-syntax-qry.md [SPARK-31110][DOCS][SQL] refine sql doc for SELECT 2020-03-11 16:52:40 -07:00
sql-ref-syntax.md [SPARK-31113][SQL] Add SHOW VIEWS command 2020-04-07 09:25:01 -07:00
sql-ref.md [SPARK-30691][SQL][DOC] Add a few main pages to SQL Reference 2020-01-31 12:52:22 -06:00
ss-migration-guide.md [SPARK-31351][DOC] Migration Guide Auditing for Spark 3.0 Release 2020-04-08 12:27:40 +09:00
storage-openstack-swift.md [SPARK-26918][DOCS] All .md should have ASF license header 2019-03-30 19:49:45 -05:00
streaming-custom-receivers.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
streaming-kafka-0-10-integration.md [MINOR][DOC][SQL][CORE] Fix typo in document and comments 2019-12-21 14:08:58 -08:00
streaming-kafka-integration.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
streaming-kinesis-integration.md [SPARK-31293][DSTREAMS][KINESIS][DOC] Fix wrong examples and help messages for Kinesis integration 2020-03-29 14:27:19 -07:00
streaming-programming-guide.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
structured-streaming-kafka-integration.md [SPARK-31228][DSTREAMS] Add version information to the configuration of Kafka 2020-03-26 20:11:15 +09:00
structured-streaming-programming-guide.md [MINOR][DOCS] ForeachBatch java example fix 2020-03-03 09:24:33 -06:00
submitting-applications.md [SPARK-28609][DOC] Fix broken styles/links and make up-to-date 2019-08-04 09:42:47 -07:00
tuning.md [SPARK-30803][DOCS] Fix the home page link for Scala API document 2020-02-16 09:55:03 -06:00
web-ui.md [SPARK-31073][DOC][FOLLOWUP] Add description for Shuffle Write Time metric in StagePage to web-ui.md 2020-04-01 12:03:41 -07:00

license
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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.

Prerequisites

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. Also install the following libraries:

$ sudo gem install jekyll jekyll-redirect-from rouge

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.

R Documentation

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 = "5.0.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 5.0.1, which is updated if the version is mismatched.

API Documentation

To generate API docs for any language, you'll need to install these libraries:

$ sudo pip install sphinx mkdocs numpy

Generating the Documentation HTML

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 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
$ jekyll build

You can modify the default Jekyll build as follows:

# Skip generating API docs (which takes a while)
$ SKIP_API=1 jekyll build

# Serve content locally on port 4000
$ jekyll serve --watch

# Build the site with extra features used on the live page
$ PRODUCTION=1 jekyll build

API Docs (Scaladoc, Javadoc, Sphinx, roxygen2, MkDocs)

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 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 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.

Automatically Rebuilding API Docs

jekyll serve --watch will only watch what's in docs/, and it won't follow symlinks. That means it won't monitor your API docs under python/docs or elsewhere.

To work around this limitation for Python, install entr and run the following in a separate shell:

cd "$SPARK_HOME/python/docs"
find .. -type f -name '*.py' \
| entr -s 'make html && cp -r _build/html/. ../../docs/api/python'

Whenever there is a change to your Python code, entr will automatically rebuild the Python API docs and copy them to docs/, thus triggering a Jekyll update.