首页 > 解决方案 > 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.

标签: javahadoopjdbchive

解决方案


推荐阅读