public static class QueryCompactor.Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.Path |
getCompactionResultDir(org.apache.hadoop.hive.metastore.api.StorageDescriptor sd,
ValidWriteIdList writeIds,
HiveConf conf,
boolean writingBase,
boolean createDeleteDelta,
boolean bucket0,
AcidDirectory directory)
Get the path of the base, delta, or delete delta directory that will be the final
destination of the files during compaction.
|
public static org.apache.hadoop.fs.Path getCompactionResultDir(org.apache.hadoop.hive.metastore.api.StorageDescriptor sd, ValidWriteIdList writeIds, HiveConf conf, boolean writingBase, boolean createDeleteDelta, boolean bucket0, AcidDirectory directory)
sd - storage descriptor of table or partition to compactwriteIds - list of valid writeidsconf - HiveConfwritingBase - if true, we are creating a base directory, otherwise a deltacreateDeleteDelta - if true, the delta dir we are creating is a delete deltabucket0 - whether to specify 0 as the bucketiddirectory - AcidUtils.Directory - only required for minor compaction result (delta) dirsCopyright © 2024 The Apache Software Foundation. All rights reserved.