flink-connector-jdbc
flink-connector-jdbc copied to clipboard
[FLINK-36271] Support reading json and jsonb types in PostgreSQL dialect
When using PostgreSQL JDBC Catalog an error is thrown if any of the tables has column of type json
or jsonb
.
java.lang.UnsupportedOperationException: Doesn't support Postgres type 'jsonb' yet
-
json
/jsonb
field is returned asVARCHAR
when reading the data. - Writing values (
insert into ...
) tojson
/jsonb
column is not allowed in current design.