From c8047c06444ca043c77ff3b4aa86c531de3d4de8 Mon Sep 17 00:00:00 2001 From: Marios Trivyzas Date: Thu, 4 Apr 2019 11:31:28 +0200 Subject: [PATCH] SQL: [Docs] Small fixes for CURRENT_TIMESTAMP docs (#40792) - Added square brackets for the optional argument of precision - Fixed character to lower case after comma (cherry picked from commit d2f6f3b9ce36875e2eb6145c50464b4d72f2b1df) --- docs/reference/sql/functions/date-time.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/sql/functions/date-time.asciidoc b/docs/reference/sql/functions/date-time.asciidoc index 8728b9a6ba8..782ea15f627 100644 --- a/docs/reference/sql/functions/date-time.asciidoc +++ b/docs/reference/sql/functions/date-time.asciidoc @@ -203,7 +203,7 @@ function as the maximum number of second fractional digits returned is 3 (millis [source, sql] -------------------------------------------------- CURRENT_TIMESTAMP -CURRENT_TIMESTAMP(precision <1>) +CURRENT_TIMESTAMP([precision <1>]) -------------------------------------------------- *Input*: @@ -245,7 +245,7 @@ include-tagged::{sql-specs}/docs/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]]