You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "qingfei1994 (via GitHub)" <gi...@apache.org> on 2025/09/21 13:00:19 UTC

[PR] [FLINK-38110] fix PostgreSQL connector reads Chinese columns with garbled charactor [flink-cdc]

qingfei1994 opened a new pull request, #4128:
URL: https://github.com/apache/flink-cdc/pull/4128

   This closes https://issues.apache.org/jira/browse/FLINK-38110 
   When there's column name in Chinese in PG tables, Postgresql connector with pgoutput plugin will decode them as garbled characters, especially during incremental capure.
   
   The reason is when handling column names and table names,
   
   io.debezium.connector.postgresql.connection.pgoutput.PgOutputMessageDecoder
   
   doesn't convert the String to utf8 charset,
   This pr copied PgOutputMessageDecoder from debezium and add a new method readUTF8String(ByteBufer bytebuffer)
   and use the method when decoding column names.
   
   Unit test is supplemented for this case.


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-38110] fix PostgreSQL connector reads Chinese columns with garbled charactor [flink-cdc]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #4128:
URL: https://github.com/apache/flink-cdc/pull/4128#issuecomment-3770492720

   This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 60 days if no further activity occurs.


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-38110] fix PostgreSQL connector reads Chinese columns with garbled charactor [flink-cdc]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #4128:
URL: https://github.com/apache/flink-cdc/pull/4128#issuecomment-4101541068

   This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-38110] fix PostgreSQL connector reads Chinese columns with garbled charactor [flink-cdc]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #4128: [FLINK-38110] fix PostgreSQL connector reads Chinese columns with garbled charactor
URL: https://github.com/apache/flink-cdc/pull/4128


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org