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

CREATE TABLE

Function

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

Syntax Format Supported for Lineage Parsing

CREATE TABLE {table_name} AS select_statement...

Example Statement

CREATE TABLE default.hive_table_3 AS SELECT a.id, a.col1, a.update_time FROM default.hive_table_1 a;