All Products
Search
Document Center

MaxCompute:DROP RESOURCE

Last Updated:Mar 25, 2026

Permanently removes a resource from a MaxCompute project.

Syntax

drop resource <resource_name>;

Parameters

ParameterDescription
resource_nameThe name of the resource to drop.

Examples

Drop the resource named getaddr.jar:

drop resource getaddr.jar;

Expected output:

Confirm to "drop resource getaddr.jar" (yes/no)? y
OK

Related statements

StatementDescription
ADD ARCHIVEAdds an archive file as a resource.
ADD FILEAdds a file as a resource.
ADD JARAdds a JAR file as a resource.
ADD PYAdds Python code as a resource.
ADD TABLEAdds a table as a resource.
DESC RESOURCEShows the details of a resource.
LIST RESOURCESViews the resource list.
ALIASCreates an alias for a resource.
GET RESOURCEDownloads a resource.