讓hive和spark支持json的解析

https://github.com/rcongiu/Hive-JSON-Serde 把對應的json-serde-1.3.8-jar-with-dependencies.jar包拷貝到hive/lib目錄下和 spark/jars/目錄下 在建表語句中使用 row format serde ‘org.openx.data.jsonserde.JsonSerDe’
相關文章
相關標籤/搜索