Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1951

Avatica HSQLDB docker image time loses fractional seconds

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: avatica
    • Labels:
      None

      Description

      I create a table like so in HSQLDB using the avatica-hsqldb image:

      CREATE TABLE some_table (
      	tm TIME(6) PRIMARY KEY,
      )
      

      I then use calculate the milliseconds since 00:00:00.000 and send this value along with my insert statement: 76881222

      However, when I select the row to read the value back, I get 76881000.

      In this case, 222 milliseconds was lost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                francischuang Francis Chuang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: