Permanently removes a resource from a MaxCompute project.
Syntax
drop resource <resource_name>;Parameters
| Parameter | Description |
|---|---|
resource_name | The 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
OKRelated statements
| Statement | Description |
|---|---|
| ADD ARCHIVE | Adds an archive file as a resource. |
| ADD FILE | Adds a file as a resource. |
| ADD JAR | Adds a JAR file as a resource. |
| ADD PY | Adds Python code as a resource. |
| ADD TABLE | Adds a table as a resource. |
| DESC RESOURCE | Shows the details of a resource. |
| LIST RESOURCES | Views the resource list. |
| ALIAS | Creates an alias for a resource. |
| GET RESOURCE | Downloads a resource. |