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

相关推荐
Gent_倪32 分钟前
MySQL 与 Hive 语法异同点详解
数据库·hive·mysql
oliver_sys_log15 小时前
老项目 json-lib 2.4 JSONTokener 精度丢失问题排查
json
IT_Octopus19 小时前
JSON 日志里的 `{“$ref“:“$.xxx“}`:从 fastjson 兼容包到原生 fastjson2 的迁移实录
开发语言·python·json
2601_9670195120 小时前
企业网站SSL证书选型实战,少走弯路
apache
数据狐(Datafox)1 天前
mercadolibre.item_get 工程实战:美客多商品详情API技术解析与落地应用
java·人工智能·mysql·json
Fcy6481 天前
Linux下 应⽤层⾃定义协议与序列化(JSON方法)
linux·json
betazhou2 天前
Apache Seatunnel 抽取Oracle数据库测试
数据库·oracle·apache·seatunnel
微软技术分享2 天前
Apache 2.4.68 编译安装与配置
人工智能·apache·知识图谱
DolphinScheduler社区2 天前
把 Apache DolphinScheduler 变成 Agent 的“手和脚”:从调度平台到自然语言数据入口
人工智能·开源·apache·agent·技术分享·海豚调度·大数据工作流调度
半亩码田2 天前
C#转Python第4.4篇:JSON 处理:json 模块 vs System.Text.Json
python·c#·json