You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/05/28 11:26:03 UTC

[jira] [Updated] (FLINK-13836) Improve support of java.util.UUID for JDBCTypeUtil

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

Flink Jira Bot updated FLINK-13836:
-----------------------------------
    Labels: stale-major  (was: )

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Major but is unassigned and neither itself nor its Sub-Tasks have been updated for 30 days. I have gone ahead and added a "stale-major" to the issue". If this ticket is a Major, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.


> Improve support of java.util.UUID for JDBCTypeUtil
> --------------------------------------------------
>
>                 Key: FLINK-13836
>                 URL: https://issues.apache.org/jira/browse/FLINK-13836
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / JDBC
>    Affects Versions: 1.8.0
>            Reporter: François Lacombe
>            Priority: Major
>              Labels: stale-major
>
> Currently, JDBCTypeUtil used by JDBCAppendTableSinkBuilder dones't support UUID types with java.util.UUID in Java.
> Could it be possible to handle that as to allow to write UUID directly to postgresql please?
>  
> {code:java}
> java.lang.IllegalArgumentException: Unsupported type: GenericType<java.util.UUID>
>  at org.apache.flink.api.java.io.jdbc.JDBCTypeUtil.typeInformationToSqlType(JDBCTypeUtil.java:91)
>  at org.apache.flink.api.java.io.jdbc.JDBCAppendTableSinkBuilder.setParameterTypes(JDBCAppendTableSinkBuilder.java:103){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)