-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking: Postgres sink issues #16745
Comments
+1 for migrating from JDBC to native implementation. My intuitive is that JDBC adds another abstraction layer and makes it more difficult for us to make all data type conversion consistent among source/sink systems. Let alone the performance loss. |
|
Support sink to uuid array (
uuid[]
) column Support morearray
types in remote sinks #14616I find that it might be difficult to support this via JDBC interface, since
java.sql.Types
doesn't have a type corresponding to UUID array, so we cannot get the uuid array type from the prepared statement. I am thinking about rewriting the Postgres sink with Rusttokio_postgres
and leverage theScalarAdapter
(refactor(cdc): refactor parsing of non-builtin Postgres data types #16589 ) to convert our types to PG types.Check data type mismatch of downstream table Catch and return sink writer error
ERROR: column \“some_column\” is of type
some_pg_typebut expression is of type
character varying` to user #16687We can check the data types after prepared the SQL statement
The text was updated successfully, but these errors were encountered: