[spark] branch branch-3.0 updated: [SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

2020-07-04 Thread huaxingao
This is an automated email from the ASF dual-hosted git repository.

huaxingao pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new fc2660c  [SPARK-32171][SQL][DOCS] Change file locations for use db and 
refresh table
fc2660c is described below

commit fc2660c302b0c83a9a8a5bec3cc7ae28f8fecdd6
Author: Huaxin Gao 
AuthorDate: Sat Jul 4 19:01:07 2020 -0700

[SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

### What changes were proposed in this pull request?

docs/sql-ref-syntax-qry-select-usedb.md -> docs/sql-ref-syntax-ddl-usedb.md
docs/sql-ref-syntax-aux-refresh-table.md -> 
docs/sql-ref-syntax-aux-cache-refresh-table.md

### Why are the changes needed?
usedb belongs to DDL. Its location should be consistent with other DDL 
commands file locations
similar reason for refresh table

### Does this PR introduce _any_ user-facing change?
before change, when clicking USE DATABASE, the side bar menu shows select 
commands
https://user-images.githubusercontent.com/13592258/86516696-b45f8a80-bdd7-11ea-8dba-3a5cca22aad3.png";>

after change, when clicking USE DATABASE, the side bar menu shows DDL 
commands
https://user-images.githubusercontent.com/13592258/86516703-bf1a1f80-bdd7-11ea-8a90-ae7eaaafd44c.png";>

before change, when clicking refresh table, the side bar menu shows 
Auxiliary statements
https://user-images.githubusercontent.com/13592258/86516877-3d2af600-bdd9-11ea-9568-0a6f156f57da.png";>

after change, when clicking refresh table, the side bar menu shows Cache 
statements
https://user-images.githubusercontent.com/13592258/86516937-b4f92080-bdd9-11ea-8ad1-5f5a7f58d76b.png";>

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

Closes #28995 from huaxingao/docs_fix.

Authored-by: Huaxin Gao 
Signed-off-by: Huaxin Gao 
(cherry picked from commit 492d5d174a435c624bd87af9ee3621f4f1c8d1c5)
Signed-off-by: Huaxin Gao 
---
 docs/_data/menu-sql.yaml  | 4 ++--
 docs/sql-ref-syntax-aux-cache-cache-table.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-clear-cache.md  | 2 +-
 ...aux-refresh-table.md => sql-ref-syntax-aux-cache-refresh-table.md} | 0
 docs/sql-ref-syntax-aux-cache-refresh.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-uncache-table.md| 2 +-
 docs/sql-ref-syntax-aux-cache.md  | 2 +-
 ...sql-ref-syntax-qry-select-usedb.md => sql-ref-syntax-ddl-usedb.md} | 0
 docs/sql-ref-syntax-ddl.md| 2 +-
 docs/sql-ref-syntax.md| 4 ++--
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/_data/menu-sql.yaml b/docs/_data/menu-sql.yaml
index 219e680..eea657e 100644
--- a/docs/_data/menu-sql.yaml
+++ b/docs/_data/menu-sql.yaml
@@ -139,7 +139,7 @@
 - text: REPAIR TABLE
   url: sql-ref-syntax-ddl-repair-table.html
 - text: USE DATABASE
-  url: sql-ref-syntax-qry-select-usedb.html
+  url: sql-ref-syntax-ddl-usedb.html
 - text: Data Manipulation Statements
   url: sql-ref-syntax-dml.html
   subitems:
@@ -207,7 +207,7 @@
 - text: CLEAR CACHE
   url: sql-ref-syntax-aux-cache-clear-cache.html
 - text: REFRESH TABLE
-  url: sql-ref-syntax-aux-refresh-table.html
+  url: sql-ref-syntax-aux-cache-refresh-table.html
 - text: REFRESH
   url: sql-ref-syntax-aux-cache-refresh.html
 - text: DESCRIBE
diff --git a/docs/sql-ref-syntax-aux-cache-cache-table.md 
b/docs/sql-ref-syntax-aux-cache-cache-table.md
index 193e209..fdef3d6 100644
--- a/docs/sql-ref-syntax-aux-cache-cache-table.md
+++ b/docs/sql-ref-syntax-aux-cache-cache-table.md
@@ -78,5 +78,5 @@ CACHE TABLE testCache OPTIONS ('storageLevel' 'DISK_ONLY') 
SELECT * FROM testDat
 
 * [CLEAR CACHE](sql-ref-syntax-aux-cache-clear-cache.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+* [REFRESH TABLE](sql-ref-syntax-aux-cache-refresh-table.html)
 * [REFRESH](sql-ref-syntax-aux-cache-refresh.html)
diff --git a/docs/sql-ref-syntax-aux-cache-clear-cache.md 
b/docs/sql-ref-syntax-aux-cache-clear-cache.md
index ee33e6a..a27cd83 100644
--- a/docs/sql-ref-syntax-aux-cache-clear-cache.md
+++ b/docs/sql-ref-syntax-aux-cache-clear-cache.md
@@ -39,5 +39,5 @@ CLEAR CACHE;
 
 * [CACHE TABLE](sql-ref-syntax-aux-cache-cache-table.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+*

[spark] branch branch-3.0 updated: [SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

2020-07-04 Thread huaxingao
This is an automated email from the ASF dual-hosted git repository.

huaxingao pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new fc2660c  [SPARK-32171][SQL][DOCS] Change file locations for use db and 
refresh table
fc2660c is described below

commit fc2660c302b0c83a9a8a5bec3cc7ae28f8fecdd6
Author: Huaxin Gao 
AuthorDate: Sat Jul 4 19:01:07 2020 -0700

[SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

### What changes were proposed in this pull request?

docs/sql-ref-syntax-qry-select-usedb.md -> docs/sql-ref-syntax-ddl-usedb.md
docs/sql-ref-syntax-aux-refresh-table.md -> 
docs/sql-ref-syntax-aux-cache-refresh-table.md

### Why are the changes needed?
usedb belongs to DDL. Its location should be consistent with other DDL 
commands file locations
similar reason for refresh table

### Does this PR introduce _any_ user-facing change?
before change, when clicking USE DATABASE, the side bar menu shows select 
commands
https://user-images.githubusercontent.com/13592258/86516696-b45f8a80-bdd7-11ea-8dba-3a5cca22aad3.png";>

after change, when clicking USE DATABASE, the side bar menu shows DDL 
commands
https://user-images.githubusercontent.com/13592258/86516703-bf1a1f80-bdd7-11ea-8a90-ae7eaaafd44c.png";>

before change, when clicking refresh table, the side bar menu shows 
Auxiliary statements
https://user-images.githubusercontent.com/13592258/86516877-3d2af600-bdd9-11ea-9568-0a6f156f57da.png";>

after change, when clicking refresh table, the side bar menu shows Cache 
statements
https://user-images.githubusercontent.com/13592258/86516937-b4f92080-bdd9-11ea-8ad1-5f5a7f58d76b.png";>

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

Closes #28995 from huaxingao/docs_fix.

Authored-by: Huaxin Gao 
Signed-off-by: Huaxin Gao 
(cherry picked from commit 492d5d174a435c624bd87af9ee3621f4f1c8d1c5)
Signed-off-by: Huaxin Gao 
---
 docs/_data/menu-sql.yaml  | 4 ++--
 docs/sql-ref-syntax-aux-cache-cache-table.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-clear-cache.md  | 2 +-
 ...aux-refresh-table.md => sql-ref-syntax-aux-cache-refresh-table.md} | 0
 docs/sql-ref-syntax-aux-cache-refresh.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-uncache-table.md| 2 +-
 docs/sql-ref-syntax-aux-cache.md  | 2 +-
 ...sql-ref-syntax-qry-select-usedb.md => sql-ref-syntax-ddl-usedb.md} | 0
 docs/sql-ref-syntax-ddl.md| 2 +-
 docs/sql-ref-syntax.md| 4 ++--
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/_data/menu-sql.yaml b/docs/_data/menu-sql.yaml
index 219e680..eea657e 100644
--- a/docs/_data/menu-sql.yaml
+++ b/docs/_data/menu-sql.yaml
@@ -139,7 +139,7 @@
 - text: REPAIR TABLE
   url: sql-ref-syntax-ddl-repair-table.html
 - text: USE DATABASE
-  url: sql-ref-syntax-qry-select-usedb.html
+  url: sql-ref-syntax-ddl-usedb.html
 - text: Data Manipulation Statements
   url: sql-ref-syntax-dml.html
   subitems:
@@ -207,7 +207,7 @@
 - text: CLEAR CACHE
   url: sql-ref-syntax-aux-cache-clear-cache.html
 - text: REFRESH TABLE
-  url: sql-ref-syntax-aux-refresh-table.html
+  url: sql-ref-syntax-aux-cache-refresh-table.html
 - text: REFRESH
   url: sql-ref-syntax-aux-cache-refresh.html
 - text: DESCRIBE
diff --git a/docs/sql-ref-syntax-aux-cache-cache-table.md 
b/docs/sql-ref-syntax-aux-cache-cache-table.md
index 193e209..fdef3d6 100644
--- a/docs/sql-ref-syntax-aux-cache-cache-table.md
+++ b/docs/sql-ref-syntax-aux-cache-cache-table.md
@@ -78,5 +78,5 @@ CACHE TABLE testCache OPTIONS ('storageLevel' 'DISK_ONLY') 
SELECT * FROM testDat
 
 * [CLEAR CACHE](sql-ref-syntax-aux-cache-clear-cache.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+* [REFRESH TABLE](sql-ref-syntax-aux-cache-refresh-table.html)
 * [REFRESH](sql-ref-syntax-aux-cache-refresh.html)
diff --git a/docs/sql-ref-syntax-aux-cache-clear-cache.md 
b/docs/sql-ref-syntax-aux-cache-clear-cache.md
index ee33e6a..a27cd83 100644
--- a/docs/sql-ref-syntax-aux-cache-clear-cache.md
+++ b/docs/sql-ref-syntax-aux-cache-clear-cache.md
@@ -39,5 +39,5 @@ CLEAR CACHE;
 
 * [CACHE TABLE](sql-ref-syntax-aux-cache-cache-table.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+*

[spark] branch branch-3.0 updated: [SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

2020-07-04 Thread huaxingao
This is an automated email from the ASF dual-hosted git repository.

huaxingao pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new fc2660c  [SPARK-32171][SQL][DOCS] Change file locations for use db and 
refresh table
fc2660c is described below

commit fc2660c302b0c83a9a8a5bec3cc7ae28f8fecdd6
Author: Huaxin Gao 
AuthorDate: Sat Jul 4 19:01:07 2020 -0700

[SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

### What changes were proposed in this pull request?

docs/sql-ref-syntax-qry-select-usedb.md -> docs/sql-ref-syntax-ddl-usedb.md
docs/sql-ref-syntax-aux-refresh-table.md -> 
docs/sql-ref-syntax-aux-cache-refresh-table.md

### Why are the changes needed?
usedb belongs to DDL. Its location should be consistent with other DDL 
commands file locations
similar reason for refresh table

### Does this PR introduce _any_ user-facing change?
before change, when clicking USE DATABASE, the side bar menu shows select 
commands
https://user-images.githubusercontent.com/13592258/86516696-b45f8a80-bdd7-11ea-8dba-3a5cca22aad3.png";>

after change, when clicking USE DATABASE, the side bar menu shows DDL 
commands
https://user-images.githubusercontent.com/13592258/86516703-bf1a1f80-bdd7-11ea-8a90-ae7eaaafd44c.png";>

before change, when clicking refresh table, the side bar menu shows 
Auxiliary statements
https://user-images.githubusercontent.com/13592258/86516877-3d2af600-bdd9-11ea-9568-0a6f156f57da.png";>

after change, when clicking refresh table, the side bar menu shows Cache 
statements
https://user-images.githubusercontent.com/13592258/86516937-b4f92080-bdd9-11ea-8ad1-5f5a7f58d76b.png";>

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

Closes #28995 from huaxingao/docs_fix.

Authored-by: Huaxin Gao 
Signed-off-by: Huaxin Gao 
(cherry picked from commit 492d5d174a435c624bd87af9ee3621f4f1c8d1c5)
Signed-off-by: Huaxin Gao 
---
 docs/_data/menu-sql.yaml  | 4 ++--
 docs/sql-ref-syntax-aux-cache-cache-table.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-clear-cache.md  | 2 +-
 ...aux-refresh-table.md => sql-ref-syntax-aux-cache-refresh-table.md} | 0
 docs/sql-ref-syntax-aux-cache-refresh.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-uncache-table.md| 2 +-
 docs/sql-ref-syntax-aux-cache.md  | 2 +-
 ...sql-ref-syntax-qry-select-usedb.md => sql-ref-syntax-ddl-usedb.md} | 0
 docs/sql-ref-syntax-ddl.md| 2 +-
 docs/sql-ref-syntax.md| 4 ++--
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/_data/menu-sql.yaml b/docs/_data/menu-sql.yaml
index 219e680..eea657e 100644
--- a/docs/_data/menu-sql.yaml
+++ b/docs/_data/menu-sql.yaml
@@ -139,7 +139,7 @@
 - text: REPAIR TABLE
   url: sql-ref-syntax-ddl-repair-table.html
 - text: USE DATABASE
-  url: sql-ref-syntax-qry-select-usedb.html
+  url: sql-ref-syntax-ddl-usedb.html
 - text: Data Manipulation Statements
   url: sql-ref-syntax-dml.html
   subitems:
@@ -207,7 +207,7 @@
 - text: CLEAR CACHE
   url: sql-ref-syntax-aux-cache-clear-cache.html
 - text: REFRESH TABLE
-  url: sql-ref-syntax-aux-refresh-table.html
+  url: sql-ref-syntax-aux-cache-refresh-table.html
 - text: REFRESH
   url: sql-ref-syntax-aux-cache-refresh.html
 - text: DESCRIBE
diff --git a/docs/sql-ref-syntax-aux-cache-cache-table.md 
b/docs/sql-ref-syntax-aux-cache-cache-table.md
index 193e209..fdef3d6 100644
--- a/docs/sql-ref-syntax-aux-cache-cache-table.md
+++ b/docs/sql-ref-syntax-aux-cache-cache-table.md
@@ -78,5 +78,5 @@ CACHE TABLE testCache OPTIONS ('storageLevel' 'DISK_ONLY') 
SELECT * FROM testDat
 
 * [CLEAR CACHE](sql-ref-syntax-aux-cache-clear-cache.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+* [REFRESH TABLE](sql-ref-syntax-aux-cache-refresh-table.html)
 * [REFRESH](sql-ref-syntax-aux-cache-refresh.html)
diff --git a/docs/sql-ref-syntax-aux-cache-clear-cache.md 
b/docs/sql-ref-syntax-aux-cache-clear-cache.md
index ee33e6a..a27cd83 100644
--- a/docs/sql-ref-syntax-aux-cache-clear-cache.md
+++ b/docs/sql-ref-syntax-aux-cache-clear-cache.md
@@ -39,5 +39,5 @@ CLEAR CACHE;
 
 * [CACHE TABLE](sql-ref-syntax-aux-cache-cache-table.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+*

[spark] branch branch-3.0 updated: [SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

2020-07-04 Thread huaxingao
This is an automated email from the ASF dual-hosted git repository.

huaxingao pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
 new fc2660c  [SPARK-32171][SQL][DOCS] Change file locations for use db and 
refresh table
fc2660c is described below

commit fc2660c302b0c83a9a8a5bec3cc7ae28f8fecdd6
Author: Huaxin Gao 
AuthorDate: Sat Jul 4 19:01:07 2020 -0700

[SPARK-32171][SQL][DOCS] Change file locations for use db and refresh table

### What changes were proposed in this pull request?

docs/sql-ref-syntax-qry-select-usedb.md -> docs/sql-ref-syntax-ddl-usedb.md
docs/sql-ref-syntax-aux-refresh-table.md -> 
docs/sql-ref-syntax-aux-cache-refresh-table.md

### Why are the changes needed?
usedb belongs to DDL. Its location should be consistent with other DDL 
commands file locations
similar reason for refresh table

### Does this PR introduce _any_ user-facing change?
before change, when clicking USE DATABASE, the side bar menu shows select 
commands
https://user-images.githubusercontent.com/13592258/86516696-b45f8a80-bdd7-11ea-8dba-3a5cca22aad3.png";>

after change, when clicking USE DATABASE, the side bar menu shows DDL 
commands
https://user-images.githubusercontent.com/13592258/86516703-bf1a1f80-bdd7-11ea-8a90-ae7eaaafd44c.png";>

before change, when clicking refresh table, the side bar menu shows 
Auxiliary statements
https://user-images.githubusercontent.com/13592258/86516877-3d2af600-bdd9-11ea-9568-0a6f156f57da.png";>

after change, when clicking refresh table, the side bar menu shows Cache 
statements
https://user-images.githubusercontent.com/13592258/86516937-b4f92080-bdd9-11ea-8ad1-5f5a7f58d76b.png";>

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

Closes #28995 from huaxingao/docs_fix.

Authored-by: Huaxin Gao 
Signed-off-by: Huaxin Gao 
(cherry picked from commit 492d5d174a435c624bd87af9ee3621f4f1c8d1c5)
Signed-off-by: Huaxin Gao 
---
 docs/_data/menu-sql.yaml  | 4 ++--
 docs/sql-ref-syntax-aux-cache-cache-table.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-clear-cache.md  | 2 +-
 ...aux-refresh-table.md => sql-ref-syntax-aux-cache-refresh-table.md} | 0
 docs/sql-ref-syntax-aux-cache-refresh.md  | 2 +-
 docs/sql-ref-syntax-aux-cache-uncache-table.md| 2 +-
 docs/sql-ref-syntax-aux-cache.md  | 2 +-
 ...sql-ref-syntax-qry-select-usedb.md => sql-ref-syntax-ddl-usedb.md} | 0
 docs/sql-ref-syntax-ddl.md| 2 +-
 docs/sql-ref-syntax.md| 4 ++--
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/_data/menu-sql.yaml b/docs/_data/menu-sql.yaml
index 219e680..eea657e 100644
--- a/docs/_data/menu-sql.yaml
+++ b/docs/_data/menu-sql.yaml
@@ -139,7 +139,7 @@
 - text: REPAIR TABLE
   url: sql-ref-syntax-ddl-repair-table.html
 - text: USE DATABASE
-  url: sql-ref-syntax-qry-select-usedb.html
+  url: sql-ref-syntax-ddl-usedb.html
 - text: Data Manipulation Statements
   url: sql-ref-syntax-dml.html
   subitems:
@@ -207,7 +207,7 @@
 - text: CLEAR CACHE
   url: sql-ref-syntax-aux-cache-clear-cache.html
 - text: REFRESH TABLE
-  url: sql-ref-syntax-aux-refresh-table.html
+  url: sql-ref-syntax-aux-cache-refresh-table.html
 - text: REFRESH
   url: sql-ref-syntax-aux-cache-refresh.html
 - text: DESCRIBE
diff --git a/docs/sql-ref-syntax-aux-cache-cache-table.md 
b/docs/sql-ref-syntax-aux-cache-cache-table.md
index 193e209..fdef3d6 100644
--- a/docs/sql-ref-syntax-aux-cache-cache-table.md
+++ b/docs/sql-ref-syntax-aux-cache-cache-table.md
@@ -78,5 +78,5 @@ CACHE TABLE testCache OPTIONS ('storageLevel' 'DISK_ONLY') 
SELECT * FROM testDat
 
 * [CLEAR CACHE](sql-ref-syntax-aux-cache-clear-cache.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+* [REFRESH TABLE](sql-ref-syntax-aux-cache-refresh-table.html)
 * [REFRESH](sql-ref-syntax-aux-cache-refresh.html)
diff --git a/docs/sql-ref-syntax-aux-cache-clear-cache.md 
b/docs/sql-ref-syntax-aux-cache-clear-cache.md
index ee33e6a..a27cd83 100644
--- a/docs/sql-ref-syntax-aux-cache-clear-cache.md
+++ b/docs/sql-ref-syntax-aux-cache-clear-cache.md
@@ -39,5 +39,5 @@ CLEAR CACHE;
 
 * [CACHE TABLE](sql-ref-syntax-aux-cache-cache-table.html)
 * [UNCACHE TABLE](sql-ref-syntax-aux-cache-uncache-table.html)
-* [REFRESH TABLE](sql-ref-syntax-aux-refresh-table.html)
+*