INSERT INTO CARBON TABLE

Function

This command is used to add the output of the SELECT command to a Carbon table.

Syntax

INSERT INTO [CARBON TABLE] [select query];

Parameter Description

Table 1 INSERT INTO parameters

Parameter

Description

CARBON TABLE

Name of the CarbonData table to be inserted

select query

SELECT query on the source table (CarbonData, Hive, and Parquet tables are supported)

Precautions

Example

INSERT INTO CARBON select * from TABLENAME;

System Response

Success or failure will be recorded in the driver logs.