概述
1.在hive中创建一张order表,语句如下:
create external table order(
addr_id
bigint comment 'addr_id',
prod_name
string,
allot_quantity string
)
comment 'order'
partitiononed by (create_date,order_type)
row format delimited fields terminated by '
1.在hive中创建一张order表,语句如下:
create external table order(
addr_id
bigint comment 'addr_id',
prod_name
string,
allot_quantity string
)
comment 'order'
partitiononed by (create_date,order_type)
row format delimited fields terminated by '