From 7735db2a273edf208ae50e88926c9f7a77e5dbac Mon Sep 17 00:00:00 2001 From: Huaxin Gao Date: Mon, 27 Apr 2020 09:45:00 -0500 Subject: [PATCH] [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: Screen Shot 2020-04-26 at 10 52 42 PM after: Screen Shot 2020-04-26 at 10 51 58 PM ### How was this patch tested? Manually build and check. Closes #28360 from huaxingao/sql-ref. Authored-by: Huaxin Gao Signed-off-by: Sean Owen --- docs/sql-ref.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/docs/sql-ref.md b/docs/sql-ref.md index 6c57b0d6fd..db51fe1978 100644 --- a/docs/sql-ref.md +++ b/docs/sql-ref.md @@ -1,7 +1,7 @@ --- layout: global -title: Reference -displayTitle: Reference +title: SQL Reference +displayTitle: SQL Reference license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with @@ -19,7 +19,21 @@ license: | limitations under the License. --- -Spark SQL is Apache Spark's module for working with structured data. -This guide is a reference for Structured Query Language (SQL) for Apache -Spark. This document describes the SQL constructs supported by Spark in detail -along with usage examples when applicable. +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: + + * [Data Types](sql-ref-datatypes.html) + * [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)