[ 
https://issues.apache.org/jira/browse/IGNITE-22350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Evgeny Stanilovsky updated IGNITE-22350:
----------------------------------------
    Description: 
According to *6.36 <datetime value function>*:

{noformat}
If specified, <time precision> and <timestamp precision> respectively determine 
the precision of
the time or timestamp value returned.
{noformat}

the same for :
CURRENT_TIME 
LOCALTIME 
CURRENT_TIMESTAMP 
LOCALTIMESTAMP 

for now SELECT LOCALTIME(2) returns: 08:57:46.*643*

starting point : ItFunctionsTest#testCurrentDateTimeTimeStamp

  was:
According to *6.36 <datetime value function>*:

{noformat}
If specified, <time precision> and <timestamp precision> respectively determine 
the precision of
the time or timestamp value returned.
{noformat}

the same for :
CURRENT_TIME 
LOCALTIME 
CURRENT_TIMESTAMP 
LOCALTIMESTAMP 

starting point : ItFunctionsTest#testCurrentDateTimeTimeStamp


> Sql. Datetime functions ignore the precision.
> ---------------------------------------------
>
>                 Key: IGNITE-22350
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22350
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 3.0.0-beta1
>            Reporter: Evgeny Stanilovsky
>            Priority: Major
>              Labels: ignite-3
>
> According to *6.36 <datetime value function>*:
> {noformat}
> If specified, <time precision> and <timestamp precision> respectively 
> determine the precision of
> the time or timestamp value returned.
> {noformat}
> the same for :
> CURRENT_TIME 
> LOCALTIME 
> CURRENT_TIMESTAMP 
> LOCALTIMESTAMP 
> for now SELECT LOCALTIME(2) returns: 08:57:46.*643*
> starting point : ItFunctionsTest#testCurrentDateTimeTimeStamp



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to