-
Notifications
You must be signed in to change notification settings - Fork 590
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. |
|
Today we met a stability issue in PostgreSQL sink, causing the barriers stuck forever.
Here the Even worse, there are no logs telling what's happening in Java side. No helpful logs found. |
I think we should prioritize #17095 to enable sink decouple by default. After that, issues happen in the Sink would not affect the whole cluster. |
They are independent problems, I think. Even with |
One issue mentioned by a user lately is that if different sinks point to the same destination, PG in this case, can they share the same connection (pool)? |
As I mentioned in the Notion, in current schedule policy it is hard to share connection for sinks. And embed a connection pool in CN will make it become stateful which may introduce limitation to scaling. |
Migrate postgres sink from jdbc to rust implementation using tokio_postgres #19213
Support sink to uuid array (
uuid[]
) column Support morearray
types in remote sinks #14616@StrikeW: I 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
bug(postgres-sink):
delete
doesn't work fortimestamp with time zone
#18179jdbc sink stuck on jvm side #18372
Investigate if we can support Connection pool
The text was updated successfully, but these errors were encountered: