-
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
bug: Record flattening converts objects to strings at the max depth #1400
Comments
@edgarrmondragon - Definitely a bug, since transformed node data doesn't match the outputted SCHEMA message. Do you know if Since targets can and should be able to serialize and/or stringify object-typed top level properties, I think I lean towards not stringifying the object, but instead passing along as an object - in line with what you've written above in the bug report. (Targets then would decide whether to stringify or store as an object/json column. |
@aaronsteers I only tested this with
I agree 👍 |
This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the |
Still relevant |
Singer SDK Version
0.19.0
Python Version
NA
Bug scope
Taps (catalog, state, stream maps, etc.)
Operating System
NA
Description
With config
This record
is flattened into
Note how
user__sub
is a string. The type ofobject
is preserved in the schema message, though.See the snapshots:
sdk/tests/snapshots/mapped_stream/flatten_depth_1.jsonl
Line 1 in 89adc1b
sdk/tests/snapshots/mapped_stream/flatten_depth_1.jsonl
Line 2 in 89adc1b
Code
No response
The text was updated successfully, but these errors were encountered: