Files
doris/docs/zh-CN/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-INDEX.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
CREATE-INDEX zh-CN

CREATE-INDEX

Name

CREATE INDEX

Description

该语句用于创建索引 语法:

CREATE INDEX [IF NOT EXISTS] index_name ON table_name (column [, ...],) [USING BITMAP] [COMMENT'balabala'];

注意:

  • 目前只支持bitmap 索引
  • BITMAP 索引仅在单列上创建

Example

  1. 在table1 上为siteid 创建bitmap 索引

    CREATE INDEX [IF NOT EXISTS] index_name ON table1 (siteid) USING BITMAP COMMENT 'balabala';
    

Keywords

CREATE, INDEX

Best Practice