UNINSTALL PACKAGE
Updated at:
Uninstall a package from a MaxCompute project.
Syntax
uninstall package <project_name>.<package_name>;
Parameters
| Parameter | Required | Description |
| project_name | Yes | The name of the MaxCompute project that contains the package. Log in to the MaxCompute console, select a region in the upper-left corner, and then find the project name on the Projects tab. |
| package_name | Yes | The name of the package that you want to uninstall. Run the |
Examples
Uninstall the datashare package from the test_project_b project. Sample statement:
-- Uninstall the datashare package.
uninstall package test_project_a.datashare;Related statements
- CREATE PACKAGE: Creates a package.
- ADD TO PACKAGE: Adds resources to a package.
- REMOVE FROM PACKAGE: Removes resources from a package.
- ALLOW PROJECT: Authorizes other projects to use a package.
- DISALLOW PROJECT: A package creator revokes access permissions on a package from a project.
- DESCRIBE PACKAGE: Views the details of a package in a MaxCompute project.
- DROP PACKAGE: Deletes an existing package.
- INSTALL PACKAGE: Installs a package in a MaxCompute project.
- GRANT: Authorizes a user or role to access a package.
- Prerequisites: Revokes access permissions on a package from a user or role.
- SHOW: Views packages created or installed in a MaxCompute project.
Is this page helpful?