Skip to content

Commit b1c6a4a

Browse files
committed
fix
1 parent 0b463cf commit b1c6a4a

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

docs/sql-ref-literals.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ A numeric literal is used to specify a fixed or floating-point number.
145145
146146
#### Integral Literal
147147
148-
#### Syntax
148+
##### Syntax
149149
150150
```sql
151151
[ + | - ] digit [ ... ] [ L | S | Y ]
152152
```
153153
154-
#### Parameters
154+
##### Parameters
155155
156156
* **digit**
157157
@@ -173,7 +173,7 @@ A numeric literal is used to specify a fixed or floating-point number.
173173
174174
Indicates a 4-byte signed integer number.
175175
176-
#### Examples
176+
##### Examples
177177
178178
```sql
179179
SELECT -2147483648 AS col;
@@ -207,7 +207,7 @@ SELECT 482S AS col;
207207
208208
#### Fractional Literals
209209
210-
#### Syntax
210+
##### Syntax
211211
212212
decimal literals:
213213
```sql
@@ -229,7 +229,7 @@ and exponent is defined as
229229
E [ + | - ] digit [ ... ]
230230
```
231231
232-
#### Parameters
232+
##### Parameters
233233
234234
* **digit**
235235
@@ -243,7 +243,7 @@ E [ + | - ] digit [ ... ]
243243
244244
Case insensitive, indicates `DECIMAL`, with the total number of digits as precision and the number of digits to right of decimal point as scale.
245245
246-
#### Examples
246+
##### Examples
247247
248248
```sql
249249
SELECT 12.578 AS col;
@@ -337,7 +337,7 @@ A Datetime literal is used to specify a datetime value.
337337
338338
#### Date Literal
339339
340-
#### Syntax
340+
##### Syntax
341341
342342
```sql
343343
DATE { 'yyyy' |
@@ -347,7 +347,7 @@ DATE { 'yyyy' |
347347
```
348348
Note: defaults to `01` if month or day is not specified.
349349
350-
#### Examples
350+
##### Examples
351351
352352
```sql
353353
SELECT DATE '1997' AS col;
@@ -374,7 +374,7 @@ SELECT DATE '2011-11-11' AS col;
374374
375375
#### Timestamp Literal
376376
377-
#### Syntax
377+
##### Syntax
378378
379379
```sql
380380
TIMESTAMP { 'yyyy' |
@@ -399,7 +399,7 @@ Note: defaults to `00` if hour, minute or second is not specified.
399399
400400
Note: defaults to the session local timezone (set via `spark.sql.session.timeZone`) if `zone_id` is not specified.
401401
402-
#### Examples
402+
##### Examples
403403
404404
```sql
405405
SELECT TIMESTAMP '1997-01-31 09:26:56.123' AS col;

docs/sql-ref-syntax-aux-show-functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ license: |
99
The ASF licenses this file to You under the Apache License, Version 2.0
1010
(the "License"); you may not use this file except in compliance with
1111
the License. You may obtain a copy of the License at
12+
1213
http://www.apache.org/licenses/LICENSE-2.0
1314
1415
Unless required by applicable law or agreed to in writing, software

docs/sql-ref-syntax-ddl-alter-table.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ ALTER TABLE table_identifier { ALTER | CHANGE } [ COLUMN ] col_spec alterColumnA
9191

9292
* **COLUMNS ( col_spec )**
9393

94-
Specifies the columns to be added.
94+
Specifies the column to be altered or be changed.
9595

9696
* **alterColumnAction**
9797

@@ -204,6 +204,7 @@ ALTER TABLE table_identifier [ partition_spec ] SET LOCATION 'new_location'
204204
* **table_identifier**
205205

206206
Specifies a table name, which may be optionally qualified with a database name.
207+
207208
**Syntax:** `[ database_name. ] table_name`
208209

209210
* **partition_spec**

docs/sql-ref-syntax-qry-select-inline-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ VALUES ( expression [ , ... ] ) [ table_alias ]
3737

3838
* **table_alias**
3939

40-
Specifies a temporary name with an optional column name list. <br><br>
40+
Specifies a temporary name with an optional column name list.
4141
**Syntax:** `[ AS ] table_name [ ( column_name [ , ... ] ) ]`
4242

4343
### Examples

docs/sql-ref-syntax-qry-window.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ window_function OVER
5252

5353
* **window_frame**
5454

55-
Specifies which row to start the window on and where to end it.<br>
55+
Specifies which row to start the window on and where to end it.
5656

5757
**Syntax:**
5858

0 commit comments

Comments
 (0)