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.