Files
doris/docs/zh-CN/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-FILE.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.3 KiB

title, language
title language
DROP-FILE zh-CN

DROP-FILE

Name

DROP FILE

Description

该语句用于删除一个已上传的文件。

语法:

DROP FILE "file_name" [FROM database]
[properties]

说明:

  • file_name: 文件名。
  • database: 文件归属的某一个 db,如果没有指定,则使用当前 session 的 db。
  • properties 支持以下参数:
    • catalog: 必须。文件所属分类。

Example

  1. 删除文件 ca.pem

    DROP FILE "ca.pem" properties("catalog" = "kafka");
    

Keywords

DROP, FILE

Best Practice