[SERVER-82881] Add constructor to initialize BSONColumnBuilder from BSONColumn binary Created: 07/Nov/23  Updated: 21/Dec/23  Resolved: 20/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-77434 Improve performance for re-opening co... Closed
Related
is related to SERVER-79413 Bucket re-opening initializes the com... Open
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-11-13, Execution Team 2023-11-27, Execution Team 2023-12-11, Execution Team 2023-12-25
Participants:

 Description   

To allow appending more data in a performance-efficient way.



 Comments   
Comment by Githook User [ 21/Dec/23 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-82881 Remove usage of std::bit_cast

GitOrigin-RevId: 3b01fc485f5be453d54b56471d4593f4972de1f5
Branch: master
https://github.com/mongodb/mongo/commit/83b1d55b0cf9acbbfffcbd820e407933ebd29174

Comment by Githook User [ 20/Dec/23 ]

Author:

{'name': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-82881 Constructor for initializing BSONColumnBuilder from compressed binary (#17415)

SERVER-82881 Constructor for initializing BSONColumnBuilder from
compressed binary

Allows for efficient appending of more data in the scalar case to a
BSONColumn. This is orders of magnitude faster for larger BSONColumn
compared to the naive approach.

The end state of the BSONColumnBuilder is equivalent to one that
appended the contents of the binary but without calling finalize().

GitOrigin-RevId: e9dcfcc707f268fa1f55bd963ec8082e637250a6
Branch: master
https://github.com/mongodb/mongo/commit/2b323fcda3cf44ee8f203bf6c07e8f3d277385a7

Generated at Thu Feb 08 06:50:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.