From 41d879ecd3cf47a8b488b951cbbdd78dc1720eb0 Mon Sep 17 00:00:00 2001 From: panbingkun Date: Thu, 25 Jul 2024 20:29:21 +0900 Subject: [PATCH] [MINOR][DOCS] Update doc `sql/README.md` ### What changes were proposed in this pull request? The pr aims to update doc `sql/README.md`. ### Why are the changes needed? After https://github.com/apache/spark/pull/41426, We have added a subproject `API` to our `SQL moudle`, so we need to update the doc `sql/README.md` synchronously. ### Does this PR introduce _any_ user-facing change? Yes, make the doc clearer and more accurate. ### How was this patch tested? Manually test. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #47476 from panbingkun/minor_docs. Authored-by: panbingkun Signed-off-by: Hyukjin Kwon --- docs/sql-ref-syntax-aux-show-views.md | 2 +- sql/README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/sql-ref-syntax-aux-show-views.md b/docs/sql-ref-syntax-aux-show-views.md index 5003c092cabce..a4a827304948d 100644 --- a/docs/sql-ref-syntax-aux-show-views.md +++ b/docs/sql-ref-syntax-aux-show-views.md @@ -99,7 +99,7 @@ SHOW VIEWS FROM default LIKE 'sam*'; | default | sam1 | false | +-----------+------------+--------------+ --- List all views from the current database matching the pattern `sam|suj|temp*` +-- List all views from the current database matching the pattern `sam|suj|temp*` SHOW VIEWS LIKE 'sam|suj|temp*'; +-------------+------------+--------------+ | namespace | viewName | isTemporary | diff --git a/sql/README.md b/sql/README.md index ae5ebd1d75370..b04ae0f883b34 100644 --- a/sql/README.md +++ b/sql/README.md @@ -3,7 +3,8 @@ Spark SQL This module provides support for executing relational queries expressed in either SQL or the DataFrame/Dataset API. -Spark SQL is broken up into four subprojects: +Spark SQL is broken up into five subprojects: + - API (sql/api) - Includes some public API like DataType, Row, etc. This component can be shared between Catalyst and Spark Connect client. - Catalyst (sql/catalyst) - An implementation-agnostic framework for manipulating trees of relational operators and expressions. - Execution (sql/core) - A query planner / execution engine for translating Catalyst's logical query plans into Spark RDDs. This component also includes a new public interface, SQLContext, that allows users to execute SQL or LINQ statements against existing RDDs and Parquet files. - Hive Support (sql/hive) - Includes extensions that allow users to write queries using a subset of HiveQL and access data from a Hive Metastore using Hive SerDes. There are also wrappers that allow users to run queries that include Hive UDFs, UDAFs, and UDTFs.