Skip to content

[fix](schema-change) Fix bug that schema change may return -102 error#7808

Merged
morningman merged 1 commit intoapache:masterfrom
morningman:schema_change_v1_v2
Jan 21, 2022
Merged

[fix](schema-change) Fix bug that schema change may return -102 error#7808
morningman merged 1 commit intoapache:masterfrom
morningman:schema_change_v1_v2

Conversation

@morningman
Copy link
Contributor

@morningman morningman commented Jan 20, 2022

Proposed changes

Issue Number: close #7809

Problem Summary:

When using linked schema change, we need to check if all rowsets are of the same type,
ALPHA or BETA. otherwise, we need to use direct schema change to convert the data.

Checklist(Required)

  1. Does it affect the original behavior: (No)
  2. Has unit tests been added: (No Need)
  3. Has document been added or modified: (No Need)
  4. Does it need to update dependencies: (No)
  5. Are there any changes that cannot be rolled back: (No)

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...

When using linked schema change, we need to check if all rowsets are of the same type,
ALPHA or BETA. otherwise, we need to use direct schema change to convert the data.
@morningman morningman added area/schema-change Issues or PRs related to schema change kind/fix Categorizes issue or PR as related to a bug. labels Jan 20, 2022
Copy link
Contributor

@qidaye qidaye left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Member

@yangzhg yangzhg left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 21, 2022
@morningman morningman merged commit 0efef1b into apache:master Jan 21, 2022
Henry2SS pushed a commit to Henry2SS/incubator-doris that referenced this pull request Mar 16, 2022
…apache#7808)

When using linked schema change, we need to check if all rowsets are of the same type,
ALPHA or BETA. otherwise, we need to use direct schema change to convert the data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/schema-change Issues or PRs related to schema change kind/fix Categorizes issue or PR as related to a bug. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] schema change return error -102

4 participants