Skip to content

[fix](schemachange) fix the schema change that causes the be core dump.#14804

Merged
yangzhg merged 5 commits intoapache:masterfrom
luozenglin:schema_change_fix
Dec 8, 2022
Merged

[fix](schemachange) fix the schema change that causes the be core dump.#14804
yangzhg merged 5 commits intoapache:masterfrom
luozenglin:schema_change_fix

Conversation

@luozenglin
Copy link
Contributor

Forbid schema change to add or modify the key column of the agg model as double or float.

Proposed changes

Issue Number: close #14803

Problem summary

Describe your changes.

Checklist(Required)

  1. Does it affect the original behavior:
    • Yes
    • No
    • I don't know
  2. Has unit tests been added:
    • Yes
    • No
    • No Need
  3. Has document been added or modified:
    • Yes
    • No
    • No Need
  4. Does it need to update dependencies:
    • Yes
    • No
  5. Are there any changes that cannot be rolled back:
    • Yes (If Yes, please explain WHY)
    • 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...

@github-actions github-actions bot added area/planner Issues or PRs related to the query planner kind/test labels Dec 4, 2022
@hello-stephen
Copy link
Contributor

hello-stephen commented Dec 4, 2022

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.57 seconds
load time: 425 seconds
storage size: 17123356282 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221207122306_clickbench_pr_59360.html

@luozenglin luozenglin force-pushed the schema_change_fix branch 4 times, most recently from a08d8f4 to cf024b0 Compare December 5, 2022 15:22
Forbid schema change to add or modify the key column of the agg model as double or float.
}
for (AlterClause op : ops) {
if (op instanceof AlterTableClause && table instanceof OlapTable) {
((AlterTableClause) op).setOlapTable((OlapTable) table);
Copy link
Member

Choose a reason for hiding this comment

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

it better to table name no OlapTable object

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

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 github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

PR approved by anyone and no changes requested.

@yangzhg yangzhg merged commit c0b764e into apache:master Dec 8, 2022
morningman pushed a commit that referenced this pull request Dec 14, 2022
…p. (#14804)

* [fix](schemachange) fix the schema change that causes the be core dump.

Forbid schema change to add or modify the key column of the agg model as double or float.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects-1.1 approved Indicates a PR has been approved by one committer. area/planner Issues or PRs related to the query planner dev/1.1.5 dev/1.2.1-merged kind/test reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] schema change causes be core dump

5 participants