zhangshenghang opened a new pull request, #11232: URL: https://github.com/apache/seatunnel/pull/11232
### Purpose Fixes #9835. PostgreSQL custom ENUM columns are reported by the JDBC driver as `Types.OTHER` with the enum type name, such as `JobStatus`. SeaTunnel treated that type name as unsupported and failed JDBC source initialization. ### Changes - Map PostgreSQL `Types.OTHER` columns to SeaTunnel string columns while preserving the original source type name. - Pass the JDBC type code through `PostgresTypeMapper` when building column metadata from `ResultSetMetaData`. - Add unit coverage for PostgreSQL custom enum metadata. ### Validation - `./mvnw -pl seatunnel-connectors-v2/connector-jdbc -DskipIT -Dskip.spotless=true -Dtest=PostgresTypeConverterTest test` - `./mvnw spotless:apply` - `./mvnw -q -DskipTests verify` -- 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]
