hive json format 表 Class org.apache.hive.hcatalog.data.JsonSerDe not found

json 表
bash 复制代码
hive> create table testHive(name string, age int) row format serde 'org.apache.hive.hcatalog.data.JsonSerDe';
OK
Time taken: 0.74 seconds
hive> show tables;
OK
testhive
Time taken: 0.042 seconds, Fetched: 1 row(s)
hive> load data inpath '/testdata.txt' into table testhive;
Loading data to table default.testhive
OK
Time taken: 2.132 seconds
hive> select * from testhive;
OK
张三    17
李四    18
王五    16
Time taken: 1.293 seconds, Fetched: 3 row(s)

执行 select count 报:Class org.apache.hive.hcatalog.data.JsonSerDe not found

hive 创建 auxlib ,添加 hive-hcatalog-core-2.3.2.jar 到这个目录中

相关推荐
爱滑雪的码农4 小时前
Java基础二十:JSON 数据解析、对象与 JSON 互转逻辑
json
卷毛迷你猪13 小时前
快速实验篇(A4)Hive 数据仓库进阶:全站点干旱事件识别与多维统计分析
数据仓库·hive·hadoop·分布式
吴声子夜歌14 小时前
PlantUML——显示JSON数据
json
冰上浮云15 小时前
Gravitino iceberg catalog backend 为hive 获取元数据过程
数据仓库·hive·hadoop·gravitino
祀爱15 小时前
ControllerBase 类将对象转换为 JSON 格式并返回前端的方法
前端·json·asp.net
weelinking1 天前
【产品】11_实现后端接口——数据在背后如何流动
java·人工智能·python·sql·oracle·json·ai编程
MageGojo2 天前
小程序每日一谜怎么做:riddle 接口接入示例
windows·小程序·apache·谜语
油炸自行车2 天前
Claude Code 错误:API Error: 400 Failed to deserialize the JSON body into the
开发语言·javascript·json·trae·claude code·api error 400
兔子宇航员03012 天前
HIVE SQL 中 NULL 值在 JOIN 和 GROUP BY 中的致命陷阱与解决方案
hive·hadoop·sql
NiceCloud喜云2 天前
Claude Code 跑 HyperFrames 实测:本地生成 AI 视频素材全流程
java·运维·人工智能·自动化·json·音视频·飞书