[SERVER-64766] Column index cell value encoder Created: 21/Mar/22  Updated: 29/Oct/23  Resolved: 01/Jun/22

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

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Justin Seyster
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2022-04-04, QE 2022-04-18, QE 2022-05-02, QE 2022-05-16, QE 2022-05-30, QE 2022-06-13
Participants:

 Description   

This ticket will cover encoding the entire cell (the value of each key-value pair in the index) into a single flat buffer.

In particular, it will cover:

  • Flag bytes
  • ArrayInfo size
  • Encode each BSONElement -> column index format
  • Copy the pre-encoded arrayInfo to the end of the cell

It should take as input the UnencodedCellView type from SERVER-65192.



 Comments   
Comment by Githook User [ 30/Apr/22 ]

Author:

{'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}

Message: SERVER-64766 Translation from UnencodedCellView to columnar index format

Co-authored-by: Mathias Stearn <redbeard0531@gmail.com>
Branch: master
https://github.com/mongodb/mongo/commit/1ba3d6e0c71c80e08d0f3e26a1b46c621c3a9f1b

Comment by Mathias Stearn [ 12/Apr/22 ]

I'm going to expand the scope of this ticket slightly to cover not just the value encoder, but the entire cell encoding process. I think the value encoder will be most of the work anyway, with just a little extra code to handle flag bytes and copying the (already encoded) arrayInfo.

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