Re: NullPointerException when trying to read null array in Postgres using JDBC Connector

2020-10-22 Thread Dylan Forciea
[1] https://issues.apache.org/jira/browse/FLINK-19771 From: Danny Chan Date: Thursday, October 22, 2020 at 4:34 AM To: Dylan Forciea Cc: Flink ML Subject: Re: NullPointerException when trying to read null array in Postgres using JDBC Connector Yes, the current code throws directly for NULLs

Re: NullPointerException when trying to read null array in Postgres using JDBC Connector

2020-10-22 Thread Danny Chan
Yes, the current code throws directly for NULLs, can you log an issue there ? Dylan Forciea 于2020年10月21日周三 上午4:30写道: > I believe I am getting an error because I have a nullable postgres array > of text that is set to NULL that I’m reading using the JDBC SQL Connector. > Is this something that sh

NullPointerException when trying to read null array in Postgres using JDBC Connector

2020-10-20 Thread Dylan Forciea
I believe I am getting an error because I have a nullable postgres array of text that is set to NULL that I’m reading using the JDBC SQL Connector. Is this something that should be allowed? Looking at the source code line below, it doesn’t look like the case of an array being null would be handl