qg-lin opened a new issue, #633: URL: https://github.com/apache/doris-flink-connector/issues/633
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version 25.0.0 ### What's Wrong? ` 2026-01-15 15:59:48 org.apache.flink.util.FlinkException: Global failure triggered by OperatorCoordinator for 'Source: MySQL Source -> SchemaOperator -> PrePartition' (operator 9899a42c64d67ef3172b7e3be3c1bbb9). at org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder$LazyInitializedCoordinatorContext.failJob(OperatorCoordinatorHolder.java:651) at org.apache.flink.cdc.runtime.operators.schema.common.SchemaRegistry.failJob(SchemaRegistry.java:392) at org.apache.flink.cdc.runtime.operators.schema.regular.SchemaCoordinator.lambda$startSchemaChangesEvolve$1(SchemaCoordinator.java:249) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: org.apache.flink.util.FlinkRuntimeException: Failed to apply schema change event. ... 6 more Caused by: SchemaEvolveException{applyingEvent=AlterColumnTypeEvent{tableId=xxx, typeMapping={yyy=VARCHAR(255)}, oldTypeMapping={yyy=VARCHAR(255) NOT NULL}}, exceptionMessage='fail to apply alter column type event', cause='org.apache.doris.flink.exception.DorisSchemaChangeException: Failed to schemaChange, response: {"msg":"Error","code":1,"data":"Failed to execute sql: java.sql.SQLException: (conn=887889) errCode = 2, detailMessage = Can not change default value","count":0}'} at org.apache.flink.cdc.connectors.doris.sink.DorisMetadataApplier.applyAlterColumnTypeEvent(DorisMetadataApplier.java:297) at org.apache.flink.cdc.connectors.doris.sink.DorisMetadataApplier.lambda$applySchemaChange$1(DorisMetadataApplier.java:120) at org.apache.flink.cdc.common.event.visitor.SchemaChangeEventVisitor.visit(SchemaChangeEventVisitor.java:52) at org.apache.flink.cdc.connectors.doris.sink.DorisMetadataApplier.applySchemaChange(DorisMetadataApplier.java:113) at org.apache.flink.cdc.runtime.operators.schema.regular.SchemaCoordinator.applyAndUpdateEvolvedSchemaChange(SchemaCoordinator.java:437) at org.apache.flink.cdc.runtime.operators.schema.regular.SchemaCoordinator.applySchemaChange(SchemaCoordinator.java:406) at org.apache.flink.cdc.runtime.operators.schema.regular.SchemaCoordinator.lambda$startSchemaChangesEvolve$1(SchemaCoordinator.java:247) ... 5 more Caused by: org.apache.doris.flink.exception.DorisSchemaChangeException: Failed to schemaChange, response: {"msg":"Error","code":1,"data":"Failed to execute sql: java.sql.SQLException: (conn=887889) errCode = 2, detailMessage = Can not change default value","count":0} at org.apache.doris.flink.sink.schema.SchemaChangeManager.handleSchemaChange(SchemaChangeManager.java:232) at org.apache.doris.flink.sink.schema.SchemaChangeManager.execute(SchemaChangeManager.java:273) at org.apache.doris.flink.sink.schema.SchemaChangeManager.schemaChange(SchemaChangeManager.java:194) at org.apache.doris.flink.sink.schema.SchemaChangeManager.modifyColumnDataType(SchemaChangeManager.java:164) at org.apache.flink.cdc.connectors.doris.sink.DorisMetadataApplier.applyAlterColumnTypeEvent(DorisMetadataApplier.java:286) ... 11 more ` ### What You Expected? alter column type success ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
