Skip to content

Commit 7e4608b

Browse files
authored
fix: signs (#2526)
* fix: node version * fix: fix sign
1 parent b3a5d0b commit 7e4608b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/en/sql-reference/00-sql-reference/31-system-tables/system-indexes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ See also: [SHOW INDEXES](../../10-sql-commands/50-administration-cmds/show-index
1313
```sql
1414
CREATE TABLE t1(a int,b int);
1515

16-
CREATE AGGREGATING INDEX idx1 AS SELECT SUM(a), b FROM default.t1 WHERE b > 3 GROUP BY b
16+
CREATE AGGREGATING INDEX idx1 AS SELECT SUM(a), b FROM default.t1 WHERE b > 3 GROUP BY b;
1717

18-
SELECT * FROM system.indexes
18+
SELECT * FROM system.indexes;
1919

2020
+----------+-------------+------------------------------------------------------------+----------------------------+
2121
| name | type | definition | created_on |
2222
+----------+-------------+------------------------------------------------------------+----------------------------+
2323
| test_idx | AGGREGATING | SELECT b, SUM(a) FROM default.t1 WHERE (b > 3) GROUP BY b | 2023-05-17 11:53:54.474377 |
2424
+----------+-------------+------------------------------------------------------------+----------------------------+
25-
```
25+
```
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: CREATE WAREHOUSE
33
---
4+
45
import FunctionDescription from '@site/src/components/FunctionDescription';
56

67
<FunctionDescription description="Introduced or updated: v1.2.687"/>
@@ -10,7 +11,7 @@ Creates a warehouse with specified size or by assigning nodes from specific node
1011
## Syntax
1112

1213
```sql
13-
CREATE WAREHOUSE <warehouse_name>
14+
CREATE WAREHOUSE <warehouse_name>
1415
[WITH warehouse_size = <size> | ( ASSIGN <node_count> NODES FROM <node_group>[, <node_count> NODES FROM <node_group> ... ] ) ]
1516
```
1617

@@ -19,11 +20,11 @@ CREATE WAREHOUSE <warehouse_name>
1920
This example creates a warehouse with a size of 10:
2021

2122
```sql
22-
CREATE WAREHOUSE test_warehouse WITH warehouse_size = 10
23+
CREATE WAREHOUSE test_warehouse WITH warehouse_size = 10;
2324
```
2425

2526
This example creates a warehouse by assigning specific nodes from node groups:
2627

2728
```sql
2829
CREATE WAREHOUSE test_warehouse (ASSIGN 1 NODES FROM log_node, ASSIGN 2 NODES FROM infra_node);
29-
```
30+
```

0 commit comments

Comments
 (0)