On this page

    Dropping Apache Iceberg Tables

    For external Nessie data sources, the DROP TABLE command logically removes a table from the source. Even though the table is removed from the catalog, it still physically exists in storage until garbage collection removes it.

    For Amazon S3 data sources, the DROP TABLE command logically removes a table from the source and physically removes all files associated with the table. After the table is dropped, it is permanently deleted and cannot be restored.

    For Amazon Glue data sources, the DROP TABLE command removes a table from the catalog. The datafiles are not deleted from the warehouse.

    Syntax
    DROP TABLE <table_path>.<table_name>
    

    Parameters

    <table_path>

    String

    The path in which the table is located.


    <table_name>

    String

    The name of the table that you want to drop.