Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bold Note
  • Loading branch information
huaxingao committed May 5, 2020
commit 0575f06fcb31ecc8cad490cce029cac4befaaebd
2 changes: 1 addition & 1 deletion docs/sql-ref-identifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ An identifier is a string used to identify a database object such as a table, vi
```sql
{ letter | digit | '_' } [ , ... ]
```
Note: If `spark.sql.ansi.enabled` is set to true, ANSI SQL reserved keywords cannot be used as identifiers. For more details, please refer to [ANSI Compliance](sql-ref-ansi-compliance.html).
**Note:** If `spark.sql.ansi.enabled` is set to true, ANSI SQL reserved keywords cannot be used as identifiers. For more details, please refer to [ANSI Compliance](sql-ref-ansi-compliance.html).

#### Delimited Identifier

Expand Down
6 changes: 3 additions & 3 deletions docs/sql-ref-literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ DATE { 'yyyy' |
'yyyy-[m]m-[d]d' |
'yyyy-[m]m-[d]d[T]' }
```
Note: defaults to `01` if month or day is not specified.
**Note:** defaults to `01` if month or day is not specified.

##### Examples

Expand Down Expand Up @@ -386,7 +386,7 @@ TIMESTAMP { 'yyyy' |
'yyyy-[m]m-[d]d[T][h]h:[m]m:[s]s[.]' |
'yyyy-[m]m-[d]d[T][h]h:[m]m:[s]s.[ms][ms][ms][us][us][us][zone_id]'}
```
Note: defaults to `00` if hour, minute or second is not specified.
**Note:** defaults to `00` if hour, minute or second is not specified.
`zone_id` should have one of the forms:
* Z - Zulu time zone UTC+0
* `+|-[h]h:[m]m`
Expand All @@ -397,7 +397,7 @@ Note: defaults to `00` if hour, minute or second is not specified.
* `+|-hhmmss`
* Region-based zone IDs in the form `area/city`, such as `Europe/Paris`

Note: defaults to the session local timezone (set via `spark.sql.session.timeZone`) if `zone_id` is not specified.
**Note:** defaults to the session local timezone (set via `spark.sql.session.timeZone`) if `zone_id` is not specified.

##### Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/sql-ref-syntax-qry-sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The `TABLESAMPLE` statement is used to sample the table. It supports the followi
* `TABLESAMPLE`(x `PERCENT`): Sample the table down to the given percentage. Note that percentages are defined as a number between 0 and 100.
* `TABLESAMPLE`(`BUCKET` x `OUT OF` y): Sample the table down to a `x` out of `y` fraction.

Note: `TABLESAMPLE` returns the approximate number of rows or fraction requested.
**Note:** `TABLESAMPLE` returns the approximate number of rows or fraction requested.

### Syntax

Expand Down