public class CatalogUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
dropTableData(FileIO io,
TableMetadata metadata)
Drops all data and metadata files referenced by TableMetadata.
|
public static void dropTableData(FileIO io, TableMetadata metadata)
This should be called by dropTable implementations to clean up table files once the table has been dropped in the metastore.
io
- a FileIO to use for deletesmetadata
- the last valid TableMetadata instance for a dropped table.