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] flink-cdc-3.0 Unable to apply SchemaChangeEvent for table "xxx" without existing schema #3014

Closed
1 of 2 tasks
yuyii opened this issue Jan 19, 2024 · 2 comments
Closed
1 of 2 tasks
Labels
bug Something isn't working

Comments

@yuyii
Copy link

yuyii commented Jan 19, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Flink version

1.18

Flink CDC version

3.0

Database and its version

source: mysql 5.7.40
sink: starrocks 3.2.2

Minimal reproduce step

  1. create yaml
    source:
    table: app_db.ord.*
    ...
  2. sync table begin with ord to starrocks ,everything is ok
  3. change source mysql table ,alter table app_db.ttt add column .... (not capture this table)
  4. schema change is be send to starrocks, then error occured.

some log:
2024-01-19 17:53:14,206 INFO com.ververica.cdc.runtime.operators.schema.coordinator.SchemaRegistryRequestHandler [] - Received schema change event request from table app_db.ttt. Start to buffer requests for others.
...
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Unable to apply SchemaChangeEvent for table "app_db.ttt" without existing schema
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) ~[?:?]
at com.ververica.cdc.runtime.operators.schema.SchemaOperator.sendRequestToCoordinator(SchemaOperator.java:123) ~[?:?]

What did you expect to see?

should not capture table ttt

What did you see instead?

ttt table schema change is send to starrocks

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@yuyii yuyii added the bug Something isn't working label Jan 19, 2024
@everhopingandwaiting
Copy link

I have the same issue

@lvyanquan
Copy link
Contributor

lvyanquan commented Jan 23, 2024

fixed by #2986. And please update to 3.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants