-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use psycopg text array decoding in wal2json messages (#490)
Slack thread: https://meltano.slack.com/archives/C06A1MD6A6L/p1724619858505739 When using log based replication, the wal2json output for columns of array types returns a string encoded in sql format. Ex: '{a,b}' The records produced by the tap in this sutation fails the target schema validation, since the schema is of type array and the value is a string. I included a test case for it. Please feel free to modify the PR, I am by no means a python developer. Related: - eulerto/wal2json#221 (comment) --------- Co-authored-by: Edgar Ramírez Mondragón <16805946+edgarrmondragon@users.noreply.github.com>
- Loading branch information
1 parent
ba7ad87
commit c68b98c
Showing
2 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters