hive创建hbase表映射

将hbase中的表映射至hive中,便于表的操作

sql 复制代码
create external table student_info(
    id string,
    student_name string,
    gender string,
    pwd string,
    school_name string,
    location string
)
stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with
    serdeproperties('hbase.columns.mapping'=':key,baseinfo:name,baseinfo:gender,baseinfo:pwd,schoolinfo:name,schoolinfo:location')
tblproperties ('hbase.table.name'='bigdata888:test001');

select * from student_info;

效果:

相关推荐
Elastic 中国社区官方博客1 小时前
介绍 Elastic 的 Agent Builder - 9.2
大数据·运维·人工智能·elasticsearch·搜索引擎·ai·全文检索
wudl55662 小时前
华工科技(000988)2025年4月22日—10月22日
大数据·人工智能·科技
科技宅说3 小时前
OPARTMENT发布Light 系列 以“光”重塑都市青年生活方式
大数据·人工智能·生活
wudl55664 小时前
Flink 1.20 自定义SQL连接器实战
大数据·sql·flink
xxxxxxllllllshi4 小时前
【Elasticsearch查询DSL API完全指南:从入门到精通】
java·大数据·elasticsearch·搜索引擎·面试·全文检索·jenkins
深圳UMI4 小时前
UMI无忧秘书智脑:实现生活与工作全面智能化服务
大数据·人工智能
阿里云大数据AI技术7 小时前
阿里云DLF 3.0:面向AI时代的智能全模态湖仓管理平台
大数据·人工智能
白帽子凯哥哥7 小时前
SpringBoot + Elasticsearch实战:从零构建高性能搜索与数据分析平台
大数据·spring boot·后端·elasticsearch·搜索引擎·性能优化·聚合查询
Brianna Home8 小时前
Rust内存安全:所有权与生命周期的精妙设计
大数据·rust
极客数模9 小时前
2025年MathorCup 大数据竞赛明日开赛,注意事项!论文提交规范、模板、承诺书正确使用!2025年第六届MathorCup数学应用挑战赛——大数据竞赛
大数据·python·算法·matlab·图论·比赛推荐