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 到这个目录中

相关推荐
guslegend18 小时前
AI生图第3节:gpt-image-2的提示词反解析与Json结构化生图
人工智能·gpt·json
隐于花海,等待花开20 小时前
18.TRUNC / LAST_DAY / NEXT_DAY 函数深度解析
大数据·hive
隐于花海,等待花开21 小时前
17.DATE_FORMAT 函数深度解析
大数据·hive
隐于花海,等待花开1 天前
15.TO_DATE 函数深度解析
大数据·hive
wtsolutions1 天前
Excel-to-JSON Local App - Secure Offline Excel to JSON Conversion
json·excel
Hello_Embed1 天前
嵌入式上位机开发入门(二十九):JsonRPC TCP Server
网络·单片机·网络协议·tcp/ip·json·嵌入式
YJlio2 天前
1 4.1 微软商店的使用(Microsoft Store:下载/安装/管理应用与游戏)
运维·hive·hadoop·windows·游戏·microsoft·计算机外设
看海的四叔2 天前
【SQL】SQL的日期与时间函数
数据库·hive·sql·数据分析·时间函数·日期函数
看海的四叔2 天前
【SQL】SQL-常见窗口函数有哪些-上篇
数据库·hive·sql·mysql·数据分析·窗口函数