[ 
https://issues.apache.org/jira/browse/FLINK-28596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131341#comment-18131341
 ] 

Tomoyuki NAKAMURA commented on FLINK-28596:
-------------------------------------------

Hi, I'd like to work on this. Could someone assign it to me?

FLINK-37288 (Spanner dialect, merged in 
https://github.com/apache/flink-connector-jdbc/pull/156) added {{setArray}} and 
{{createArrayOf}} to {{FieldNamedPreparedStatement}}, so writing ARRAY values 
is now possible on the core side. I plan to implement ARRAY write support for 
the PostgreSQL dialect based on the Spanner implementation. 
{{PostgresDialectConverter}} would create the JDBC array with {{createArrayOf}} 
using the PostgreSQL element type name, and NULL arrays would be handled by the 
parent's nullable converter. I'll add sink ITCases that cover NULL arrays, NULL 
elements and the supported element types.

> Support writing arrays to postgres array columns in Flink SQL JDBC connector
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-28596
>                 URL: https://issues.apache.org/jira/browse/FLINK-28596
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / JDBC
>    Affects Versions: 1.15.0
>            Reporter: Bobby Richard
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to