All Products
Search
Document Center

MaxCompute:DROP PACKAGE

Last Updated:Mar 25, 2026

Drops a package.

Syntax

delete|drop package <package_name>;

Usage notes

Dropping a package clears all permission information granted through that package.

Parameters

ParameterRequiredDescription
package_nameYesThe name of the package to drop. To list packages you created, run show packages; on the MaxCompute client.

Examples

Drop the datashare package created in the test_project_a project:
-- Drop the datashare package.
drop package datashare;

Related statements