Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

typo in projected_columns.h document #1639

Open
@wangqiim

Description

@wangqiim

Typo

document typo

/**
* ProjectedColumns represents partial images of a collection of tuples, where columns from different
* tuples are laid out continuously. This can be considered a collection of ProjectedRows, but optimized
* for continuous column access like PAX. However, a ProjectedRow is almost always externally coupled to a known
* tuple slot, so it is more compact in layout than MaterializedColumns, which has to also store the
* TupleSlot information for each tuple. The inner class RowView provides access to the underlying logical
* projected rows with the same interface as a real ProjectedRow.
* -------------------------------------------------------------------------------------
* | size | max_tuples | num_tuples | num_cols | attr_end[4] | col_id1 | col_id2 | ... |
* -------------------------------------------------------------------------------------
* | val1_offset | val2_offset | ... | TupleSlot_1 | TupleSlot_2 | ... |
* -------------------------------------------------------------------------------------
* | null-bitmap, col_id1 | val1, col_id1 | val2, col_id1 | ... |
* -------------------------------------------------------------------------------------
* | null-bitmap, col_id1 | val1, col_id2 | val2, col_id2 | ... |
* -------------------------------------------------------------------------------------
* | ... |
* -------------------------------------------------------------------------------------
*/
// PACKED for the same reason as ProjectedRow
class PACKED ProjectedColumns {

In line:25, I think it expected is

* | null-bitmap, col_id2 | val1, col_id2 | val2, col_id2 |             ...            | 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions