-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: The json
module is now avaiable to stream maps
#2531
Conversation
This allows using `json.loads()` and `json.dumps()` to convert fields between text and json representations.
CodSpeed Performance ReportMerging #2531 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2531 +/- ##
=======================================
Coverage 89.23% 89.23%
=======================================
Files 54 54
Lines 4782 4782
Branches 935 935
=======================================
Hits 4267 4267
Misses 359 359
Partials 156 156 ☔ View full report in Codecov by Sentry. |
Ah, you want me to add docs to https://meltano-sdk--2531.org.readthedocs.build/en/2531/stream_maps.html#built-in-functions ? |
yeah 🙏 |
Thanks for those documentation improvements @edgarrmondragon 🙏 |
json
module is now avaiable to stream maps
Thanks @grigi! |
This allows using
json.loads()
andjson.dumps()
to convert fields between text and json representations.Particularily useful moving data between MySQL and Postgres where MySQL stores json as text, and Postgres stores json as JSONB.
Usage in a stream_map:
Closes #1502
📚 Documentation preview 📚: https://meltano-sdk--2531.org.readthedocs.build/en/2531/