5. hive ORC使用压缩

创建一个使用 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 '	'
stored as orc 
tblproperties ("orc.compress"="SNAPPY");

原文地址:https://www.cnblogs.com/LIAOBO/p/13625941.html