sandynz commented on PR #37576:
URL: https://github.com/apache/shardingsphere/pull/37576#issuecomment-3698196599

   Nightly Operation E2E on openGauss, PostgreSQLMigrationGeneralE2EIT
   
   schemaName: test
   sql: COMMENT ON COLUMN t_order.user_id IS 'user id'
   
   Stack trace:
   ```
   
org.apache.shardingsphere.infra.exception.kernel.metadata.TableNotFoundException:
 Table or view 't_order' does not exist.
        at 
org.apache.shardingsphere.infra.binder.engine.segment.dml.from.type.SimpleTableSegmentBinder.lambda$checkTableExists$12(SimpleTableSegmentBinder.java:187)
        at 
org.apache.shardingsphere.infra.exception.ShardingSpherePreconditions.checkState(ShardingSpherePreconditions.java:44)
        at 
org.apache.shardingsphere.infra.binder.engine.segment.dml.from.type.SimpleTableSegmentBinder.checkTableExists(SimpleTableSegmentBinder.java:187)
        at 
org.apache.shardingsphere.infra.binder.engine.segment.dml.from.type.SimpleTableSegmentBinder.bind(SimpleTableSegmentBinder.java:94)
        at 
org.apache.shardingsphere.infra.binder.engine.statement.ddl.CommentStatementBinder.lambda$bind$0(CommentStatementBinder.java:43)
        at java.base/java.util.Optional.map(Optional.java:260)
        at 
org.apache.shardingsphere.infra.binder.engine.statement.ddl.CommentStatementBinder.bind(CommentStatementBinder.java:43)
        at 
org.apache.shardingsphere.infra.binder.engine.type.DDLStatementBindEngine.bind(DDLStatementBindEngine.java:101)
        at 
org.apache.shardingsphere.infra.binder.engine.SQLBindEngine.bindSQLStatement(SQLBindEngine.java:76)
        at 
org.apache.shardingsphere.infra.binder.engine.SQLBindEngine.bind(SQLBindEngine.java:59)
        at 
org.apache.shardingsphere.data.pipeline.core.metadata.generator.PipelineDDLDecorator.parseSQL(PipelineDDLDecorator.java:105)
        at 
org.apache.shardingsphere.data.pipeline.core.metadata.generator.PipelineDDLDecorator.decorateActualSQL(PipelineDDLDecorator.java:84)
        at 
org.apache.shardingsphere.data.pipeline.core.metadata.generator.PipelineDDLDecorator.decorate(PipelineDDLDecorator.java:75)
        at 
org.apache.shardingsphere.data.pipeline.core.preparer.datasource.PipelineJobDataSourcePreparer.decorateTargetTableSQL(PipelineJobDataSourcePreparer.java:145)
        at 
org.apache.shardingsphere.data.pipeline.core.preparer.datasource.PipelineJobDataSourcePreparer.prepareTargetTables(PipelineJobDataSourcePreparer.java:122)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.preparer.MigrationJobPreparer.prepareTarget(MigrationJobPreparer.java:148)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.preparer.MigrationJobPreparer.prepareAndCheckTarget(MigrationJobPreparer.java:130)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.preparer.MigrationJobPreparer.lambda$prepareAndCheckTargetWithLock$1(MigrationJobPreparer.java:122)
        at 
org.apache.shardingsphere.mode.exclusive.ExclusiveOperatorEngine.lambda$operate$0(ExclusiveOperatorEngine.java:46)
        at 
org.apache.shardingsphere.mode.exclusive.ExclusiveOperatorEngine.operateWithResult(ExclusiveOperatorEngine.java:65)
        at 
org.apache.shardingsphere.mode.exclusive.ExclusiveOperatorEngine.operate(ExclusiveOperatorEngine.java:45)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.preparer.MigrationJobPreparer.prepareAndCheckTargetWithLock(MigrationJobPreparer.java:116)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.preparer.MigrationJobPreparer.prepare(MigrationJobPreparer.java:93)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.MigrationJobExecutorCallback.prepare(MigrationJobExecutorCallback.java:117)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.MigrationJobExecutorCallback.prepare(MigrationJobExecutorCallback.java:58)
        at 
org.apache.shardingsphere.data.pipeline.core.job.executor.DistributedPipelineJobExecutor.prepare(DistributedPipelineJobExecutor.java:125)
        at 
org.apache.shardingsphere.data.pipeline.core.job.executor.DistributedPipelineJobExecutor.execute(DistributedPipelineJobExecutor.java:108)
        at 
org.apache.shardingsphere.data.pipeline.core.job.executor.DistributedPipelineJobExecutor.execute(DistributedPipelineJobExecutor.java:80)
        at 
org.apache.shardingsphere.data.pipeline.scenario.migration.MigrationJob.execute(MigrationJob.java:43)
   ```
   


-- 
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]

Reply via email to