@@ -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
179179SELECT -2147483648 AS col;
@@ -207,7 +207,7 @@ SELECT 482S AS col;
207207
208208#### Fractional Literals
209209
210- #### Syntax
210+ ##### Syntax
211211
212212decimal literals:
213213```sql
@@ -229,7 +229,7 @@ and exponent is defined as
229229E [ + | - ] 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
249249SELECT 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
343343DATE { ' yyyy' |
@@ -347,7 +347,7 @@ DATE { 'yyyy' |
347347```
348348Note: defaults to `01` if month or day is not specified.
349349
350- #### Examples
350+ ##### Examples
351351
352352```sql
353353SELECT 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
380380TIMESTAMP { ' yyyy' |
@@ -399,7 +399,7 @@ Note: defaults to `00` if hour, minute or second is not specified.
399399
400400Note: 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
405405SELECT TIMESTAMP ' 1997 - 01 - 31 09 :26 :56 .123 ' AS col;
0 commit comments