Skip to content

[C++] Lost are_cols_in_encoding_order condition in NullUpdateColumnToRowImp_avx2 #40997

Closed

Description

@ZhangHuiGui

Describe the bug, including details regarding any error messages, version, and platform.

Recently, we find that the compare internal's avx2 function NullUpdateColumnToRowImp_avx2 lost the are_cols_in_encoding_order check when get null_bit_id. It may cause grouper's compare result wrong(are_cols_in_encoding_order = true in grouper).

avx2:

uint32_t null_bit_id = rows.metadata().pos_after_encoding(id_col);

non-avx2:

uint32_t null_bit_id =
are_cols_in_encoding_order ? id_col : rows.metadata().pos_after_encoding(id_col);

Component(s)

C++

Activity

  1. added a commit that references this issue on May 7, 2024
  2. added this to the 17.0.0 milestone on May 7, 2024
  3. pitrou commented on May 7, 2024

    @pitrou
    Member

    Issue resolved by pull request 40998
    #40998

  4. added a commit that references this issue on May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions