简体   繁体   中英

How to store data in hive table from different file location

If we have multiple data sources and from each data source, one file is coming to HDFS but in a different location, how do we store all these files in a single Hive table?

Create an external table and for each path, add a partition and specify that location as the path for partition.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM