[SPARK-31569][SQL][DOCS] Add links to subsections in SQL Reference main page

### What changes were proposed in this pull request?
Add links to subsections in SQL Reference main page

### Why are the changes needed?
Make SQL Reference complete

### Does this PR introduce any user-facing change?
Yes
before:
<img width="1050" alt="Screen Shot 2020-04-26 at 10 52 42 PM" src="https://user-images.githubusercontent.com/13592258/80338238-a9551080-8810-11ea-8ae8-d6707fde2cac.png">

after:
<img width="1050" alt="Screen Shot 2020-04-26 at 10 51 58 PM" src="https://user-images.githubusercontent.com/13592258/80338241-ac500100-8810-11ea-8518-95c4f8c0a2eb.png">

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

Closes #28360 from huaxingao/sql-ref.

Authored-by: Huaxin Gao <huaxing@us.ibm.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
This commit is contained in:
Huaxin Gao 2020-04-27 09:45:00 -05:00 committed by Sean Owen
parent 5ba467ca1d
commit 7735db2a27

View file

@ -1,7 +1,7 @@
--- ---
layout: global layout: global
title: Reference title: SQL Reference
displayTitle: Reference displayTitle: SQL Reference
license: | license: |
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with contributor license agreements. See the NOTICE file distributed with
@ -19,7 +19,21 @@ license: |
limitations under the License. limitations under the License.
--- ---
Spark SQL is Apache Spark's module for working with structured data. Spark SQL is Apache Spark's module for working with structured data. This guide is a reference for Structured Query Language (SQL) and includes syntax, semantics, keywords, and examples for common SQL usage. It contains information for the following topics:
This guide is a reference for Structured Query Language (SQL) for Apache
Spark. This document describes the SQL constructs supported by Spark in detail * [Data Types](sql-ref-datatypes.html)
along with usage examples when applicable. * [Identifiers](sql-ref-identifier.html)
* [Literals](sql-ref-literals.html)
* [Null Semanitics](sql-ref-null-semantics.html)
* [ANSI Compliance](sql-ref-ansi-compliance.html)
* [SQL Syntax](sql-ref-syntax.html)
* [DDL Statements](sql-ref-syntax-ddl.html)
* [DML Statements](sql-ref-syntax-ddl.html)
* [Data Retrieval Statements](sql-ref-syntax-qry.html)
* [Auxiliary Statements](sql-ref-syntax-aux.html)
* [Functions](sql-ref-functions.html)
* [Built-in Functions](sql-ref-functions-builtin.html)
* [Scalar User-Defined Functions (UDFs)](sql-ref-functions-udf-scalar.html)
* [User-Defined Aggregate Functions (UDAFs)](sql-ref-functions-udf-aggregate.html)
* [Integration with Hive UDFs/UDAFs/UDTFs](sql-ref-functions-udf-hive.html)
* [Datetime Pattern](sql-ref-datetime-pattern.html)