Skip to content

Commit

Permalink
SQL: [Docs] Small fixes for CURRENT_TIMESTAMP docs (#40792)
Browse files Browse the repository at this point in the history
- Added square brackets for the optional argument of precision
- Fixed character to lower case after comma

(cherry picked from commit d2f6f3b)
  • Loading branch information
matriv committed Apr 4, 2019
1 parent 67e5af6 commit f236779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/sql/functions/date-time.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ beta[]
[source, sql]
--------------------------------------------------
CURRENT_TIMESTAMP
CURRENT_TIMESTAMP(precision <1>)
CURRENT_TIMESTAMP([precision <1>])
--------------------------------------------------

*Input*:
Expand Down Expand Up @@ -141,7 +141,7 @@ include-tagged::{sql-specs}/docs.csv-spec[filterNow]
--------------------------------------------------

[IMPORTANT]
Currently, Using a _precision_ greater than 3 doesn't make any difference to the output of the
Currently, using a _precision_ greater than 3 doesn't make any difference to the output of the
function as the maximum number of second fractional digits returned is 3 (milliseconds).

[[sql-functions-datetime-day]]
Expand Down

0 comments on commit f236779

Please sign in to comment.