nikitap-sg commented on PR #13056:
URL: https://github.com/apache/seatunnel/pull/13056#issuecomment-6525905205

   The type string from `format_type` is now passed through to 
`PGobject.setType` and `createArrayOf`.
   
   Quotes, spaces, and the schema stay in the name. `tenant."text"` is not 
treated as builtin `text`. Builtin names with no schema, or in `pg_catalog`, 
still use `setString`. A quoted name keeps its case, so `"TEXT"` is not folded 
into builtin `text`. An enum array drops a trailing `[]` only when that suffix 
is outside the quotes.
   
   `PostgresJdbcRowConverterTest` covers the schema, a space in the name, an 
escaped quote, a user type named `text`, `pg_catalog.text`, and 
`tenant."Role"[]`. `JdbcPostgresIT` writes those values through the converter 
into PostgreSQL and reads them back, with a same-named enum in another schema 
on `search_path`. English and Chinese JDBC sink docs describe the binding.
   
   Local `PostgresJdbcRowConverterTest`: 27 tests, 0 failures. The new IT 
method was not executed here. The fork has Actions enabled, but no workflows 
are registered, so the Build workflow could not be dispatched after the push 
(`fa7bb340`).
   


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