Skip to content

Remove pending segment group#751

Merged
chaoyli merged 2 commits into
apache:be_refactorfrom
yiguolei:be_refactor
Mar 14, 2019
Merged

Remove pending segment group#751
chaoyli merged 2 commits into
apache:be_refactorfrom
yiguolei:be_refactor

Conversation

@yiguolei
Copy link
Copy Markdown
Contributor

  1. remove pending segment group
  2. publish version only set segment group's version not segment group pb.
  3. add row num data size index size info to segment group.


_is_pending_rowset = false;
AlphaRowsetMetaSharedPtr alpha_rowset_meta =
std::dynamic_pointer_cast<AlphaRowsetMeta>(_rowset_meta);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be better to clear_load_id() ?

@chaoyli chaoyli merged commit f4d5fec into apache:be_refactor Mar 14, 2019
kangpinghuang pushed a commit to kangpinghuang/incubator-doris that referenced this pull request Mar 14, 2019
platoneko pushed a commit to platoneko/doris that referenced this pull request Oct 27, 2022
…pache#751)

examples
```
copy into t2 from (select from '@ex_stage_1')

copy into t2 from (select * from '@ex_stage_1')

copy into t2 from (select $2, $1, $3 from '@ex_stage_1')

copy into t2 from (select $2, $1+100, $3 from '@ex_stage_1')

copy into t2 from (select $1, str_to_date($3, '%Y-%m-%d'), $2 + 1 from '@ex_stage_1' where $2 > $1)

copy into t2 from (select $2, NULL, $3 from '@ex_stage_1')
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants