Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22350

Sql. Datetime functions ignore the precision.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • sql

    Description

      According to 6.36 <datetime value function>:

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

      the same for :
      CURRENT_TIME
      LOCALTIME
      CURRENT_TIMESTAMP
      LOCALTIMESTAMP

      for now SELECT LOCALTIME(2) returns: 08:57:46.643

      starting point : ItFunctionsTest#testCurrentDateTimeTimeStamp

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: