All Products
Search
Document Center

MaxCompute:DESCRIBE PACKAGE

Last Updated:Mar 25, 2026

Views the details of a package that is created or installed in a MaxCompute project.

Syntax

describe package <project_name>.<package_name>;

Parameters

ParameterRequiredDescription
project_nameYesThe name of the MaxCompute project that owns the package. To find the project name, log on to the MaxCompute console, select a region from the top navigation bar, and check the Project management tab.
package_nameYesThe name of the package to inspect. To list available packages, run show packages; on the MaxCompute client.

Example

View the objects and permissions in the datashare package in test_project_a:

-- View the package details.
describe package test_project_a.datashare;

The output includes the following fields:

FieldDescription
CreateTimeThe time when the package was created.
PackageNameThe name of the package.
SourceProjectThe name of the MaxCompute project that owns the package.
ObjectTypeThe type of an object in the package.
ObjectNameThe name of an object in the package.
ObjectPrivilegesThe permissions granted on an object in the package.
ProjectNameThe project authorized to install the package.
UserLabelThe user access level label.

Sample output:

CreateTime:         2021-12-28T18:10:39+0800
PackageName:        datashare
SourceProject:      test_project_a

Object List
+--------------+------------------------------------------+------------------+
| ObjectType   | ObjectName                               | ObjectPrivileges |
+--------------+------------------------------------------+------------------+
| RESOURCE     | udtf.jar                                 | Read             |
+--------------+------------------------------------------+------------------+
| TABLE        | sale_detail                              | Describe,Select  |
+--------------+------------------------------------------+------------------+

Allowed Project List
+-----------------+-----------+
| ProjectName     | UserLabel |
+-----------------+-----------+
| test_project_b  | 0         |
+-----------------+-----------+

Related statements