Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Sort] Fix cannot output drop statement #7787

Closed
2 tasks done
e-mhui opened this issue Apr 5, 2023 · 0 comments · Fixed by #7788
Closed
2 tasks done

[Bug][Sort] Fix cannot output drop statement #7787

e-mhui opened this issue Apr 5, 2023 · 0 comments · Fixed by #7788
Assignees
Labels
component/sort type/bug Something is wrong
Milestone

Comments

@e-mhui
Copy link
Contributor

e-mhui commented Apr 5, 2023

What happened

The tableChanges of the drop ddl statement is empty, so it cannot enter the outputDdlElement() method. We need to check below whether the drop ddl statement belongs to the currently captured table. If so, output the DDL element.

image

What you expected to happen

Ouput drop statment

How to reproduce

Run AllMigrateTest.java, then drop a table.

Environment

No response

InLong version

master

InLong Component

InLong Sort

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/sort type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants