Skip to content

Commit

Permalink
[Doc] Fix Wrong Example in Bitmap Index (backport #53477) (#53517)
Browse files Browse the repository at this point in the history
Co-authored-by: 絵空事スピリット <[email protected]>
  • Loading branch information
mergify[bot] and EsoragotoSpirit authored Dec 4, 2024
1 parent d2254b7 commit e1e55b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/using_starrocks/Bitmap_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Bitmap indexes can be created on all columns in primary key and duplicate key ta
- `CREATE INDEX` can be used to create a bitmap index after table creation. For detailed parameter descriptions and examples, refer to [CREATE INDEX](../sql-reference/sql-statements/table_bucket_part_index/CREATE_INDEX.md).

```SQL
CREATE INDEX lo_quantity_index (lo_quantity) USING BITMAP;
CREATE INDEX lo_quantity_index ON lineorder_partial (lo_quantity) USING BITMAP;
```

### Progress of creating an index
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/using_starrocks/Bitmap_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Bitmap 索引适用于优化等值 `=` 查询、`[NOT] IN` 范围查询、`>`,
- 建表后使用 CREATE INDEX 创建 Bitmap 索引。详细参数说明和示例,参见 [CREATE INDEX](../sql-reference/sql-statements/table_bucket_part_index/CREATE_INDEX.md)。

```SQL
CREATE INDEX lo_quantity_index (lo_quantity) USING BITMAP;
CREATE INDEX lo_quantity_index ON lineorder_partial (lo_quantity) USING BITMAP;
```

### 创建进度
Expand Down

0 comments on commit e1e55b9

Please sign in to comment.