Skip to content

Commit

Permalink
[MINOR][DOCS] Update doc sql/README.md
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
The pr aims to update doc `sql/README.md`.

### Why are the changes needed?
After apache#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 apache#47476 from panbingkun/minor_docs.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
  • Loading branch information
panbingkun authored and fusheng committed Aug 6, 2024
1 parent 2ac50d3 commit 41d879e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/sql-ref-syntax-aux-show-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ SHOW VIEWS FROM default LIKE 'sam*';
| default | sam1 | false |
+-----------+------------+--------------+

-- List all views from the current database matching the pattern `sam|sujtemp*`
-- List all views from the current database matching the pattern `sam|suj|temp*`
SHOW VIEWS LIKE 'sam|suj|temp*';
+-------------+------------+--------------+
| namespace | viewName | isTemporary |
Expand Down
3 changes: 2 additions & 1 deletion sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 41d879e

Please sign in to comment.