Updated on 2026-08-13 GMT+08:00

CREATE VIEW

Function

Reads column data from the source table, creates a view, and writes data to the created view. Only Data Map supports view-level lineages, and metadata must be collected in DataArts Catalog.

Syntax Format Supported for Lineage Parsing

1
CREATE VIEW {database_name}.{table_name} AS select_statement...

Example Statement

CREATE VIEW default.hetu_view_1 AS SELECT a.id, a.col1, a.update_time FROM default.hetu_table_1 a;