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

Mao Jiayi reopened FLINK-39760:
-------------------------------

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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