欢迎投稿

今日深度:

hive orc文件读取,hiveorc读取

hive orc文件读取,hiveorc读取


支持增删改查建表:

create table orc_table(id int, name string) clustered by (id) into 4 buckets  stored as orc
TBLPROPERTIES ('transactional'='true');

区分:

create table orc_table_asorc (id int,name string) stored as orc;

读取orc文件命令:
hive存储为orc时,orc格式正常无法打开访问,是乱码,需通过命令行的方式查看:

hive --orcfiledump /apps/hive/warehouse/hive_test.db/orc_table_asorc/000000_0

这里写图片描述

www.htsjk.Com true http://www.htsjk.com/hive/10996.html NewsArticle hive orc文件读取,hiveorc读取 支持增删改查建表: create table orc_table(id int , name string) clustered by (id) into 4 buckets stored as orcTBLPROPERTIES ( 'transactional' = 'true' ); 区分: create table orc_table_asorc (...
评论暂时关闭