Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 384 Bytes

demo_batch.md

File metadata and controls

21 lines (17 loc) · 384 Bytes

提前先在hive test的库下创建好test的表

create table  test(
id int,
name string
)
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t';
CREATE CATALOG testmyhive WITH (
    'type' = 'hive',
    'default-database' = 'test',
    'hive-conf-dir' = '/alidata/server/zhp/catalog/config'
);
USE CATALOG testmyhive;

insert into test.test values(4,'n2');