zhangshenghang opened a new pull request, #11218: URL: https://github.com/apache/seatunnel/pull/11218
### Purpose Fixes #10635. Dameng supports `NVARCHAR2` as an Oracle-compatible character type, but the JDBC Dameng type converter only handled `NVARCHAR`. As a result, reading a Dameng table with `NVARCHAR2` columns failed while building the catalog table with an unsupported type error. ### Changes - Add `NVARCHAR2` support to `DmdbTypeConverter` and map it to SeaTunnel `STRING`. - Treat `NVARCHAR2` as a string type when deciding whether Dameng default values need quotes. - Add a regression test covering Dameng `nvarchar2` conversion. ### Tests - `./mvnw spotless:apply` - `./mvnw -pl seatunnel-connectors-v2/connector-jdbc -DskipIT -Dskip.spotless=true -Dtest=DmdbTypeConverterTest#testNvarchar test` - `./mvnw -q -DskipTests verify` Note: `./mvnw -pl seatunnel-connectors-v2/connector-jdbc -DskipIT -Dskip.spotless=true test` was also run. The changed `DmdbTypeConverterTest` passed, but the full module run failed on existing Testcontainers-based Oracle/Kingbase tests because Docker is not available in this local environment. -- 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]
