mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
SQL: change the default precision for CURRENT_TIMESTAMP function (#39391)
(cherry picked from commit dbb93310b0
)
This commit is contained in:
parent
4deb69e9e4
commit
542e2c55f6
3 changed files with 16 additions and 2 deletions
|
@ -153,7 +153,8 @@ CURRENT_TIMESTAMP(precision <1>)
|
|||
|
||||
Returns the date/time when the current query reached the server.
|
||||
As a function, `CURRENT_TIMESTAMP()` accepts _precision_ as an optional
|
||||
parameter for rounding the second fractional digits (nanoseconds).
|
||||
parameter for rounding the second fractional digits (nanoseconds). The default _precision_ is 3,
|
||||
meaning a milliseconds precision current date/time will be returned.
|
||||
|
||||
This method always returns the same value for its every occurrence within the same query.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue