Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-483

Support decimal128

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.7.0, 1.7.0-alpha2
    • None
    • None
    • None

    Description

      Scope

      • Vendor a decimal128 library.
      • Support encoding, edge generation, and min cover of a BSON decimal128.

      Background & Motivation

      Relevant server code is in fle_crypto.cpp
      Encoding in the server code is in getTypeInfoDecimal128 Port to mc-range-encoding.c.
      Edge generation is in server code in getEdgesDecimal128. Port to mc-range-edge-generation.c.
      MinCover is in server code in minCoverDecimal128. Port to mc-range-mincover.c.

      This will require a dependency on a decimal128 library. DBX Scope: Driver Support for Range Index suggests "Import libtommath or tomsfastmath or similar to perform int128 math". The server vendors the Intel Decimal Floating-Point Math Library v2.1: https://github.com/mongodb/mongo/tree/master/src/third_party/IntelRDFPMathLib20U1

      Attachments

        Activity

          People

            colby.pike@mongodb.com Colby Pike
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: