bug: JSON schema union types that contain boolean
result in casting JSON objects and arrays as boolean values
#2726
Milestone
boolean
result in casting JSON objects and arrays as boolean values
#2726
Singer SDK Version
0.41.0
Is this a regression?
Python Version
NA
Bug scope
Targets (data type handling, batching, SQL object generation, etc.)
Operating System
NA
Description
Fields with schemas similar to the one in the Code section below, prioritize the presence all types before
object
andarray
. This is wrong, as the presence of either indicates a non-scalar field.The issue in question is coming from
sdk/singer_sdk/typing.py
Lines 1208 to 1245 in 316282e
Related issues:
true
when using meltanolabs tap-postgres and target-snowflake MeltanoLabs/target-snowflake#274Code
Link to Slack/Linen
No response
The text was updated successfully, but these errors were encountered: