bug: Source postgres json & jsonb columns loading to snowflake as varchar true
when using meltanolabs tap-postgres and target-snowflake
#274
Labels
bug
Something isn't working
Target Version
3.4.2
Python Version
3.9
PostgreSQL Version
16.4
Operating System
meltano/meltano:v3.4.2-python3.9 docker image
Description
Steps to fully reproduce can be found in this public repo. General configurations in this repo match our production env where we first noticed this behavior.
In swapping from using the transferwise variants of the tap-postgres and target-snowflake plugins to their respective meltanolabs variants, we noticed it will load any columns from the source of the json or jsonb data type to be varchar
true
in the target.Source table was created with:
example source data in postgres:
example target data in Snowflake:
Quick matrix of what was tested. Only using the meltanolabs variant of both the tap-postgres and target-snowflake resulted in the malformed data.
When looking at the schema of the actual messages that come across using the dummy data in the repo linked above, they look largely the same and what I'd expect. Not sure if including the
boolean
data type in the meltanolabs variant is somehow causing it to get read through incorrectly?The schema from the meltanolabs tap-postgres:
Schema from the transferwise tap-postgres:
Link to Slack/Linen
https://meltano.slack.com/archives/C069CQNHDNF/p1728658002710249
The text was updated successfully, but these errors were encountered: