iamhucong opened a new pull request, #38900: URL: https://github.com/apache/shardingsphere/pull/38900
### Motivation `DDLE2EIT` waits for DDL completion by polling JDBC metadata. The polling code passed dataset table names directly to `DatabaseMetaData#getTables`, `getColumns`, and `getIndexInfo`. For dialects that normalize unquoted identifiers, such as Oracle upper-casing table names, a lower-case dataset table name can miss an object that was already created. The wait may then time out and leave objects behind for later parameterized cases. ### Changes - Pass `DatabaseType` into DDL metadata wait helpers. - Format table-name patterns with `DatabaseTypeRegistry#formatIdentifierPattern(...)` before JDBC metadata lookups. - Compare column names case-insensitively in DDL metadata assertions to avoid dialect identifier-case differences. ### Tests - `./mvnw spotless:apply -Pcheck -T1C` - `./mvnw checkstyle:check -Pcheck -T1C` - `./mvnw -pl test/e2e/sql -am -DskipITs -Dspotless.skip=true -DskipTests test-compile` -- 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]
