创建一个使用 Snappy 压缩的 ORC 格式的表

create table log_orc_snappy(
    track_time string,
    url string,
    session_id string,
    referer string,
    ip string,
    end_user_id string,
    city_id string
)
row format delimited 
fields terminated by '\t'
stored as orc 
tblproperties ("orc.compress"="SNAPPY");

 

posted on 2020-09-07 11:34  架构艺术  阅读(475)  评论(0编辑  收藏  举报