Skip to content

[Bug](ColumnArray) Fix array column replicate replicate_offsets not…#17641

Merged
yiguolei merged 1 commit intoapache:branch-1.2-ltsfrom
eldenmoon:branch-1.2-lts
Mar 10, 2023
Merged

[Bug](ColumnArray) Fix array column replicate replicate_offsets not…#17641
yiguolei merged 1 commit intoapache:branch-1.2-ltsfrom
eldenmoon:branch-1.2-lts

Conversation

@eldenmoon
Copy link
Member

@eldenmoon eldenmoon commented Mar 10, 2023

… matched

the input replicate_offsets should be the same size as ColumnArray's offset.

IColumn::Offsets replicate_offsets(get_offsets().size(), 0);
// |---------------------|-------------------------|-------------------------|
// [0, begin)             [begin, begin + count_sz)  [begin + count_sz, size())
//  do not need to copy    copy counts[n] times       do not need to copy

pick from #17616

Proposed changes

Issue Number: close #xxx

Problem summary

Describe your changes.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

… matched

the input replicate_offsets should be the same size as ColumnArray's offset.
```
IColumn::Offsets replicate_offsets(get_offsets().size(), 0);
// |---------------------|-------------------------|-------------------------|
// [0, begin)             [begin, begin + count_sz)  [begin + count_sz, size())
//  do not need to copy    copy counts[n] times       do not need to copy
```

we should
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants