Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-3077

BSON Binary Vector Subtype Support

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Hide

      DRIVERS-2926:
      Summary of necessary driver changes

      • Implementation of new Binary subtype 9 including
      • encoding and decoding logic
      • convenience methods to move from sequences of numbers to binary (e.g. from_vector, as_vector)
      • common json tests in specifications/source/bson-binary-vector/tests along with a test runner, updates to any scripts that sync these tests to the driver repository.
      • additional testing specific to the driver implementation
      • New BSON corpus tests

      The pull-request of the initial implementation in Python is here:

      Commits for syncing spec/prose tests

      Context for other referenced/linked tickets

      • CLOUDP-221473 is the Atlas Search epic. It contains links to technical design, scope, and much more.
      • Slack channel #bson-binary-vector-subtype

         

      Show
      DRIVERS-2926: Summary of necessary driver changes Implementation of new Binary subtype 9 including encoding and decoding logic convenience methods to move from sequences of numbers to binary (e.g. from_vector , as_vector ) common json tests in specifications/source/bson-binary-vector/tests along with a test runner, updates to any scripts that sync these tests to the driver repository. additional testing specific to the driver implementation New BSON corpus tests The pull-request of the initial implementation in Python is here: DRIVERS-2926 PYTHON-4577 BSON Binary Vector Subtype Support #1813 Commits for syncing spec/prose tests specifications/source/bson-binary-vector specifications/source/bson-corpus Context for other referenced/linked tickets CLOUDP-221473 is the Atlas Search epic. It contains links to technical design, scope, and much more. Slack channel #bson-binary-vector-subtype  
    • None
    • Fully Compatible
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?

      A new API is available in bsoncxx, to support the data format described by this specification:

      https://github.com/mongodb/specifications/blob/master/source/bson-binary-vector/bson-binary-vector.md

      2. Would you like the user to see examples of the syntax and/or executable code and its output?

      One example is already present in the repository:

      https://github.com/mongodb/mongo-cxx-driver/blob/master/examples/bsoncxx/bson_binary_vector.cpp

      3. Which versions of the driver/connector does this apply to?

      tbd

      Show
      1. What would you like to communicate to the user about this feature? A new API is available in bsoncxx, to support the data format described by this specification: https://github.com/mongodb/specifications/blob/master/source/bson-binary-vector/bson-binary-vector.md 2. Would you like the user to see examples of the syntax and/or executable code and its output? One example is already present in the repository: https://github.com/mongodb/mongo-cxx-driver/blob/master/examples/bsoncxx/bson_binary_vector.cpp 3. Which versions of the driver/connector does this apply to? tbd
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-2926, please see that ticket for a detailed description.

            Assignee:
            micah.scott@mongodb.com Micah Scott
            Reporter:
            dbeng-pm-bot TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: