io.eels.component.hive
Locates files for a given table.
Connects to the hive metastore to get the partitions list (or if no partitions then just root) and scans those directories.
Returns a Map of each partition to the files in that partition.
If partition constraints are specified then those partitions are filtered out.
If there are no partitions then the Map will contain a single key, of Partition.empty which acts as the root.
Locates files for a given table.
Connects to the hive metastore to get the partitions list (or if no partitions then just root) and scans those directories.
Returns a Map of each partition to the files in that partition.
If partition constraints are specified then those partitions are filtered out.
If there are no partitions then the Map will contain a single key, of Partition.empty which acts as the root.