Skip to content

[fix-5697][Pydevlake]: Fix AddColumn op possibly deleting a column#5714

Merged
klesh merged 3 commits into
apache:mainfrom
merico-ai:issues/5697
Jul 24, 2023
Merged

[fix-5697][Pydevlake]: Fix AddColumn op possibly deleting a column#5714
klesh merged 3 commits into
apache:mainfrom
merico-ai:issues/5697

Conversation

@keon94
Copy link
Copy Markdown
Contributor

@keon94 keon94 commented Jul 20, 2023

Summary

What does this PR do?

Does this close any open issues?

Closes #5697

Screenshots

Include any relevant screenshots here.

Other Information

Any other information that is important to this PR.

@keon94 keon94 added this to the v0.18.0 milestone Jul 20, 2023
@keon94 keon94 self-assigned this Jul 20, 2023
@keon94 keon94 added the pr-type/bug-fix This PR fixes a bug label Jul 20, 2023
@keon94 keon94 requested review from CamilleTeruel and klesh July 20, 2023 15:36
return nil
}

func (p *remotePluginImpl) createTable(tbl coreModels.DynamicTabler) errors.Error {
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.

This change disables all automigrations but table creation, and I thought we settled on adding a CreateTable op instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not in this ticket. I'll handle that in #5689. For now, we create tables like this, and every other migration is done manually

@klesh
Copy link
Copy Markdown
Contributor

klesh commented Jul 21, 2023

@keon94 how about the corrupted schema? will it be fixed automatically after upgrade ?

@keon94
Copy link
Copy Markdown
Contributor Author

keon94 commented Jul 21, 2023

@keon94 how about the corrupted schema? will it be fixed automatically after upgrade ?

I pushed a commit to re-trigger that migration. It'll work whether that column is present or not.

@klesh klesh merged commit d12a3a1 into apache:main Jul 24, 2023
@Startrekzky Startrekzky added the cherrypick-completed Use this alongside needs-cherrypick-* labels after the PR has been cherrypicked. label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherrypick-completed Use this alongside needs-cherrypick-* labels after the PR has been cherrypicked. needs-cherrypick-v0.18 pr-type/bug-fix This PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Azure DevOps] Entities Column Missing

4 participants