[ 
https://issues.apache.org/jira/browse/FLINK-39760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yanquan Lv resolved FLINK-39760.
--------------------------------
    Fix Version/s: cdc-3.7.0
         Assignee: Mao Jiayi
       Resolution: Fixed

Merged in master via e780a7cbb76acb6108ac9a9cf76e93ac0dec06ff.

> Fix missing JTS core dependency of PostgreSQL YAML connector
> ------------------------------------------------------------
>
>                 Key: FLINK-39760
>                 URL: https://issues.apache.org/jira/browse/FLINK-39760
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>            Reporter: Mao Jiayi
>            Assignee: Mao Jiayi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.7.0
>
>
> When building the PostgreSQL YAML connector as a standalone module, the build 
> may fail because the connector uses JTS classes without declaring the 
> required JTS core dependency.
> The issue happens in {*}{{PostgresEventDeserializer}}{*}. The current 
> implementation imports and uses classes such as 
> *{{org.locationtech.jts.geom.Coordinate}} and 
> {{org.locationtech.jts.io.WKBReader}}* when handling geometry values. 
> However, *{{flink-cdc-pipeline-connector-postgres}}* does not explicitly 
> declare *{{org.locationtech.jts:jts-core}}* in its module dependencies.
> This issue may not be exposed when the connector is built together with 
> modules that happen to provide JTS transitively, but it can fail in isolated 
> module builds or packaging workflows where the PostgreSQL YAML connector must 
> resolve its own compile dependencies.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to