Skip to content

[Bug]: A series bugs discovered by a different plan. #23562

Closed

Description

@fengttt

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

dd1d3b1

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

A different plan surfaced a series of bugs,

  1. agg info is serialized in ExtraBuf1, I thought sending this in first batch is enough -- wrong. In a merge case, merge operator MAY reordering batches from different CN therefore cause big problems.
  2. merge case, group operator state management bug.
  3. A vector union bug, which must have a long history ...

Expected Behavior

No response

Steps to Reproduce

set @@max_dop = 2;
set @@agg_spill_mem = 1000000;

select sum(s) from (select sum(1) s from lineitem group by l_partkey) tmpt;

And have fun.

Additional information

No response

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions