Repository navigation
0.12.1
Breaking Changes
- Removed the
flexible-csvformat. Its only addition over Flink'scsvformat was theskip-headeroption. Tables with'format' = 'flexible-csv'now fail withCould not find any factory for identifier 'flexible-csv'. To migrate, switch to'format' = 'csv', renameflexible-csv.*options tocsv.*, dropskip-header, and remove header rows from the data. (#421) jsonb_arrayandjsonb_objectnow treat a singleARRAYargument as one value, instead of as the list of arguments.jsonb_array(ARRAY[1, 2, 3])returns[[1,2,3]]instead of[1,2,3], andjsonb_object(ARRAY['k', 'v'])fails instead of returning{"k":"v"}. ANULLarray argument tojsonb_arrayreturns[null]instead of failing the job. (#419)
Fixes
- Fixed nested JSON values in
to_jsonb,jsonb_array,jsonb_object, andjsonb_object_agg. A JSON value inside an array, row, or map is now embedded as is, instead of as{"json": ...}, so anARRAY<RAW(FlinkJsonType)>column written to PostgreSQL reads back correctly. (#419) - Fixed
ROWand temporal values injsonb_array,jsonb_object, andjsonb_object_agg. Rows now keep their fields instead of becoming{"kind":"INSERT","arity":2}, and temporal values become ISO strings, as into_jsonb, instead of a Jackson error message or a failed job. (#419) - The JSON construction functions now skip map entries with a
NULLkey instead of failing the job. (#419) - Fixed
TIMESTAMP_LTZvalues in thejdbc-sqrlconnector on a JVM that does not run in UTC. Values written to a PostgreSQLtimestamptzcolumn were shifted by the JVM time zone offset, and values read back were shifted in the opposite direction. They now keep the same instant regardless of the JVM time zone. On a JVM that runs in UTC, the behavior is unchanged. (#424) - The
timestampvalue ofsink.on-conflict.actionin thejdbc-sqrlconnector now overwrites the existing row when the incoming timestamp is equal to the stored one, matching Flink, which keeps the later row on a tie. Before, these updates were lost, for example with keep-last-row deduplication (DISTINCT), aggregates whoseMINorMAXtimestamp does not change, and joins with aGREATEST(...)timestamp. Rows with an older timestamp are still skipped. (#425)
Dependencies
- Updated ClassGraph from
4.8.197to5.0.0. (#420)
Full Changelog: 0.12.0...0.12.1