• Data Warehouse Service

dws
  1. Help Center
  2. Data Warehouse Service
  3. Developer Guide
  4. Tutorial: Importing Data from OBS to a Cluster
  5. Step 6: Cleaning Up Resources

Step 6: Cleaning Up Resources

After completing the operations in this tutorial, you can delete the resources created during the operations if they are no longer necessary, avoiding resource waste and quota occupation.

Deleting the Foreign Table and the Target Table

  1. If you have performed queries after importing data, run the following statement to delete the target table:

    DROP TABLE product_info;

    If the following information is displayed, the table has been deleted:

    DROP TABLE

  2. Run the following statement to delete the foreign table:

    DROP FOREIGN TABLE product_info_ext;

    If the following information is displayed, the foreign table has been deleted:

    DROP FOREIGN TABLE