java - Insert into Hive ORC table by nested POJO
问题描述
We have a hive server to store the big data we want to use. It has a table stored as ORC format. I'm new for this field, and I would like to know that, is there a way/lib to simply insert into the hive table by POJO?
like :
hiveLib.insert(new Item(...));
public class Item {
private String orderItemId;
private String itemId;
private MultiLang name;
private MultiLang url;
private MultiLang imgUrl;
}
And it's nested. Thanks.
解决方案
推荐阅读
- javascript - Node.js - https.get() 和 JSON.parse() 使服务器崩溃
- php - XML 递归迭代分组
- vba - 如何点击页面中的所有链接,一一返回?
- apache-kafka - Kafka:SASL_SSL + ACL 可以生产但不能消费
- sql - 如何连接不区分大小写的相同数据的 2 个字段
- ios - 对 SwiftUI FetchRequest 的更改不会触发视图刷新?
- rust - 迭代 BTreeMap 和 &BTreeMap 的区别
- python - Python:在任何计算机/操作系统上查找 CSV 文件
- java - 如何在 Android 中连接到 websocket
- csv - 将 CSV 从 S3 加载到 AWS RDS Aurora MySQL Serverless