Files
doris/docs/zh-CN/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-RESOURCE.md
Mingyu Chen 74a482ca7f [fix] fix docs build bug (#9293)
After this PR #9272, the `docs/build_help_zip.sh` will run failed.
This PR fix this issue.
But the help module still has some parse problem, I will fix it in next PR.

This CL mainly changes:
1. fix `docs/build_help_zip.sh` error
2. remove `sql-reference-v2` to `sql-reference`
3. modify build extension github action to run `docs/build_help_zip.sh`
2022-04-28 22:19:04 +08:00

1.2 KiB

title, language
title language
DROP-RESOURCE zh-CN

DROP-RESOURCE

Name

DROP RESOURCE

Description

该语句用于删除一个已有的资源。仅 root 或 admin 用户可以删除资源。 语法:

DROP RESOURCE 'resource_name'

注意:正在使用的 ODBC/S3 资源无法删除。

Example

  1. 删除名为 spark0 的 Spark 资源:

    DROP RESOURCE 'spark0';
    

Keywords

DROP, RESOURCE

Best Practice