CREATE TABLE dwd_kudu.t09_miu_shop_commodity_status_log (
    id STRING DEFAULT 0 NOT NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION DEFAULT 0,
    shop_commodity_id STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION,
    shop_commodity STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION BLOCK_SIZE 1024,
    PRIMARY KEY (id)
) PARTITION BY HASH (id) PARTITIONS 8 
COMMENT '商品上下架日志表' 
STORED AS KUDU 
TBLPROPERTIES (
    'STATS_GENERATED' = '',
    'impala.lastComputeStatsTime' = '',
    'kudu.master_addresses' = '',
    'numRows' = ''
)
--------------------
CREATE TABLE dwd_kudu.t09_miu_shop_commodity_status_log (
	id STRING DEFAULT 0 NOT NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION,
	shop_commodity_id STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION,
	shop_commodity STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION BLOCK_SIZE 1024,
	PRIMARY KEY (id)
)
COMMENT '商品上下架日志表'
PARTITION BY HASH (id) PARTITIONS 8
STORED AS KUDU
TBLPROPERTIES (
	'STATS_GENERATED' = '',
	'impala.lastComputeStatsTime' = '',
	'kudu.master_addresses' = '',
	'numRows' = ''
)