SnowConvert AI - Hive - CREATE VIEW¶
Applies to
Hive SQL
Spark SQL
Databricks SQL
警告
This grammar is partially supported in Snowflake. Translation pending for these CREATE VIEW elements:
Description¶
Views are based on the result-set of an
SQLquery.CREATE VIEWconstructs a virtual table that has no physical data therefore other operations likeALTER VIEWandDROP VIEWonly change metadata. (Spark SQL Language Reference CREATE VIEW (https://spark.apache.org/docs/latest/sql-ref-syntax-ddl-create-view.html))
Grammar Syntax ¶
Sample Source Patterns¶
OR REPLACE¶
备注
This clause is fully supported in Snowflake
TEMPORARY (non-GLOBAL) VIEW¶
备注
This clause is fully supported in Snowflake
IF NOT EXISTS¶
备注
This clause is fully supported in Snowflake
Columns list¶
备注
This clause is fully supported in Snowflake
COMMENT clause¶
Input Code:¶
Output Code:¶