支持增删改查建表:

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

hive orc文件读取

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2021-04-03
  • 2021-11-12
  • 2021-06-05
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-09-19
  • 2021-11-19
  • 2022-12-23
  • 2022-03-02
相关资源
相似解决方案