You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "sandynz (via GitHub)" <gi...@apache.org> on 2025/12/30 03:24:24 UTC

[PR] Ignore SQLBindEngine check table existing in PipelineDDLDecorator [shardingsphere]

sandynz opened a new pull request, #37576:
URL: https://github.com/apache/shardingsphere/pull/37576

   
   Changes proposed in this pull request:
     - Ignore SQLBindEngine check table existing in PipelineDDLDecorator. To avoid table existing check Exception in nightly E2E
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following options:
   - [ ] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
   - [ ] I have self-reviewed the commit code.
   - [ ] I have (or in comment I request) added corresponding labels for the pull request.
   - [ ] I have passed maven check locally : `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [ ] I have made corresponding changes to the documentation.
   - [ ] I have added corresponding unit tests for my changes.
   - [ ] I have updated the Release Notes of the current development version. For more details, see [Update Release Note](https://shardingsphere.apache.org/community/en/involved/contribute/contributor/)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Ignore SQLBindEngine check table existing in PipelineDDLDecorator [shardingsphere]

Posted by "sandynz (via GitHub)" <gi...@apache.org>.
sandynz merged PR #37576:
URL: https://github.com/apache/shardingsphere/pull/37576


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Ignore SQLBindEngine check table existing in PipelineDDLDecorator [shardingsphere]

Posted by "sandynz (via GitHub)" <gi...@apache.org>.
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org