Inserting data into a table
To insert data into a table you use a familiar ANSI SQL statement. A simple example shows you have to accomplish this basic task.
To insert data into a full ACID table, use Hive and store data in Optimized Row
Columnar (ORC). To insert data into a non-ACID table or insert-only ACID table, you
can use Hive or Impala and store data in other supported formats. You can specify
partitioning as shown in the following syntax:
whereINSERT INTO TABLE tablename [PARTITION (partcol1=val1, partcol2=val2 ...)] VALUES values_row [, values_row...]
values_row is (value [, value])
.
A value can be NULL or any SQL literal.