public class MetadataTableUtils extends Object
| Constructor and Description |
|---|
MetadataTableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
shouldUseBatchLookup(HoodieTableConfig tableConfig,
HoodieWriteConfig config)
Whether to use batch lookup for listing the latest base files in metadata table.
|
public static boolean shouldUseBatchLookup(HoodieTableConfig tableConfig, HoodieWriteConfig config)
Note that metadata table has to be enabled, and the storage type of the file system view cannot be EMBEDDED_KV_STORE or SPILLABLE_DISK (these two types are not integrated with metadata table, see HUDI-5612).
config - Write configs.true if using batch lookup; false otherwise.Copyright © 2024 The Apache Software Foundation. All rights reserved.