This is an automated email from the ASF dual-hosted git repository.
lixiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new b85a554 [SPARK-28786][DOC][SQL][FOLLOW-UP] Change "Related
Statements" to bold
b85a554 is described below
commit b85a554487540bbbae1c62ee6ddd315d6760ea6a
Author: Huaxin Gao <[email protected]>
AuthorDate: Sat Aug 31 14:58:41 2019 -0700
[SPARK-28786][DOC][SQL][FOLLOW-UP] Change "Related Statements" to bold
### What changes were proposed in this pull request?
Change "Related Statements" to bold
### Why are the changes needed?
To make doc look nice and consistent.
### Does this PR introduce any user-facing change?
Yes
### How was this patch tested?
Tested using jykyll build --serve
Before the change:

After the change:

Before the change:

After the change:

Closes #25623 from huaxingao/spark-28786-n.
Authored-by: Huaxin Gao <[email protected]>
Signed-off-by: Xiao Li <[email protected]>
---
docs/sql-ref-syntax-dml-insert-into.md | 11 ++++-------
...ql-ref-syntax-dml-insert-overwrite-directory-hive.md | 2 +-
docs/sql-ref-syntax-dml-insert-overwrite-directory.md | 2 +-
docs/sql-ref-syntax-dml-insert-overwrite-table.md | 17 ++++++-----------
4 files changed, 12 insertions(+), 20 deletions(-)
diff --git a/docs/sql-ref-syntax-dml-insert-into.md
b/docs/sql-ref-syntax-dml-insert-into.md
index 1bb043d..890e30b 100644
--- a/docs/sql-ref-syntax-dml-insert-into.md
+++ b/docs/sql-ref-syntax-dml-insert-into.md
@@ -95,9 +95,8 @@ INSERT INTO [ TABLE ] table_name
{% endhighlight %}
#### Insert Using a SELECT Statement
-Assuming the `persons` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the persons table has already been created and populated.
SELECT * FROM persons;
+ -------------- + ------------------------------ + -------------- +
@@ -127,9 +126,8 @@ Assuming the `persons` table has already been created and
populated.
{% endhighlight %}
#### Insert Using a TABLE Statement
-Assuming the `visiting_students` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the visiting_students table has already been created and
populated.
SELECT * FROM visiting_students;
+ -------------- + ------------------------------ + -------------- +
@@ -162,9 +160,8 @@ Assuming the `visiting_students` table has already been
created and populated.
{% endhighlight %}
#### Insert Using a FROM Statement
-Assuming the `applicants` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the applicants table has already been created and populated.
SELECT * FROM applicants;
+ -------------- + ------------------------------ + -------------- +
-------------- +
@@ -203,7 +200,7 @@ Assuming the `applicants` table has already been created
and populated.
+ -------------- + ------------------------------ + -------------- +
{% endhighlight %}
-Related Statements:
+### Related Statements
* [INSERT OVERWRITE
statement](sql-ref-syntax-dml-insert-overwrite-table.html)
* [INSERT OVERWRITE DIRECTORY
statement](sql-ref-syntax-dml-insert-overwrite-directory.html)
* [INSERT OVERWRITE DIRECTORY with Hive format
statement](sql-ref-syntax-dml-insert-overwrite-directory-hive.html)
\ No newline at end of file
diff --git a/docs/sql-ref-syntax-dml-insert-overwrite-directory-hive.md
b/docs/sql-ref-syntax-dml-insert-overwrite-directory-hive.md
index f09da80..784e631 100644
--- a/docs/sql-ref-syntax-dml-insert-overwrite-directory-hive.md
+++ b/docs/sql-ref-syntax-dml-insert-overwrite-directory-hive.md
@@ -81,7 +81,7 @@ INSERT OVERWRITE [ LOCAL ] DIRECTORY directory_path
SELECT * FROM test_table;
{% endhighlight %}
-Related Statements:
+### Related Statements
* [INSERT INTO statement](sql-ref-syntax-dml-insert-into.html)
* [INSERT OVERWRITE
statement](sql-ref-syntax-dml-insert-overwrite-table.html)
* [INSERT OVERWRITE DIRECTORY
statement](sql-ref-syntax-dml-insert-overwrite-directory.html)
\ No newline at end of file
diff --git a/docs/sql-ref-syntax-dml-insert-overwrite-directory.md
b/docs/sql-ref-syntax-dml-insert-overwrite-directory.md
index 8262d9e..89d58e7 100644
--- a/docs/sql-ref-syntax-dml-insert-overwrite-directory.md
+++ b/docs/sql-ref-syntax-dml-insert-overwrite-directory.md
@@ -79,7 +79,7 @@ INSERT OVERWRITE DIRECTORY
SELECT * FROM test_table;
{% endhighlight %}
-Related Statements:
+### Related Statements
* [INSERT INTO statement](sql-ref-syntax-dml-insert-into.html)
* [INSERT OVERWRITE
statement](sql-ref-syntax-dml-insert-overwrite-table.html)
* [INSERT OVERWRITE DIRECTORY with Hive format
statement](sql-ref-syntax-dml-insert-overwrite-directory-hive.html)
\ No newline at end of file
diff --git a/docs/sql-ref-syntax-dml-insert-overwrite-table.md
b/docs/sql-ref-syntax-dml-insert-overwrite-table.md
index 6ad0347..97faded 100644
--- a/docs/sql-ref-syntax-dml-insert-overwrite-table.md
+++ b/docs/sql-ref-syntax-dml-insert-overwrite-table.md
@@ -25,7 +25,7 @@ The `INSERT OVERWRITE` statement overwrites the existing data
in the table using
### Syntax
{% highlight sql %}
-INSERT OVERWRITE [TABLE] table_name
+INSERT OVERWRITE [ TABLE ] table_name
[ PARTITION ( partition_col_name [ = partition_col_val ] [ , ... ] ) [ IF
NOT EXISTS ] ]
{ { VALUES ( { value | NULL } [ , ... ] ) [ , ( ... ) ] } | query }
{% endhighlight %}
@@ -59,10 +59,8 @@ INSERT OVERWRITE [TABLE] table_name
### Examples
#### Insert Using a VALUES Clause
-
-Assuming the `students` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the students table has already been created and populated.
SELECT * FROM students;
+ -------------- + ------------------------------ + -------------- +
@@ -101,9 +99,8 @@ Assuming the `students` table has already been created and
populated.
{% endhighlight %}
#### Insert Using a SELECT Statement
-Assuming the `persons` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the persons table has already been created and populated.
SELECT * FROM persons;
+ -------------- + ------------------------------ + -------------- +
@@ -129,9 +126,8 @@ Assuming the `persons` table has already been created and
populated.
{% endhighlight %}
#### Insert Using a TABLE Statement
-Assuming the `visiting_students` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the visiting_students table has already been created and
populated.
SELECT * FROM visiting_students;
+ -------------- + ------------------------------ + -------------- +
@@ -156,9 +152,8 @@ Assuming the `visiting_students` table has already been
created and populated.
{% endhighlight %}
#### Insert Using a FROM Statement
-Assuming the `applicants` table has already been created and populated.
-
{% highlight sql %}
+ -- Assuming the applicants table has already been created and populated.
SELECT * FROM applicants;
+ -------------- + ------------------------------ + -------------- +
-------------- +
@@ -185,7 +180,7 @@ Assuming the `applicants` table has already been created
and populated.
+ -------------- + ------------------------------ + -------------- +
{% endhighlight %}
-Related Statements:
+### Related Statements
* [INSERT INTO statement](sql-ref-syntax-dml-insert-into.html)
* [INSERT OVERWRITE DIRECTORY
statement](sql-ref-syntax-dml-insert-overwrite-directory.html)
* [INSERT OVERWRITE DIRECTORY with Hive format
statement](sql-ref-syntax-dml-insert-overwrite-directory-hive.html)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]