CREATE EXTERNAL TABLE temp.dailyStats_test7
(
email string,
url string,
count string
)
STORED BY 'com.mongodb.hadoop.hive.MongoStorageHandler'
TBLPROPERTIES('mongo.uri'='mongodb://192.168.12.13:99999/logDB.dailyStats');
CREATE EXTERNAL TABLE temp.dailyStats_test7
(
email string,
url string,
count string
)
STORED BY 'com.mongodb.hadoop.hive.MongoStorageHandler'
TBLPROPERTIES('mongo.uri'='mongodb://192.168.12.13:99999/logDB.dailyStats');
本文标题:Mongo数据导入Hive
本文链接:https://www.haomeiwen.com/subject/osouzctx.html
网友评论