UNINSTALL PACKAGE

更新时间:
复制 MD 格式

Uninstalls a package that is installed in a MaxCompute project.

Syntax

uninstall package <project_name>.<package_name>;

Parameters

ParameterRequiredDescription
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_nameYesThe name of the package that you want to uninstall.

You can execute the show packages; statement on the MaxCompute client to obtain the information about the package that you created.

Examples

Uninstall the datashare package that is installed in 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 the resources that are required by package users to the package that is created.
  • REMOVE FROM PACKAGE: Removes resources from the package that is created.
  • ALLOW PROJECT: A package creator in a project authorizes other projects to use the package that is created.
  • DISALLOW PROJECT: A package creator revokes access permissions on a package from a project.
  • DESCRIBE PACKAGE: Views the details of a package that is created 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 the packages that are created or installed in a MaxCompute project.