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

Time values are not properly truncated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • avatica

    Description

      Avatica uses the binary modulo operator to truncate time values by the number of milliseconds in a day, but this operator can result in negative numbers. We should use Math.floorMod() instead. There are also places where numbers are not truncated at all, such as when converting to string.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wnoble Will Noble
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m