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 and array. This is wrong, as the presence of either indicates a non-scalar field.
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
https://github.com/meltano/sdk/blob/316282e08d04e17d0917e344a8bcdc012e30042b/singer_sdk/typing.py#L1208-L1245
Related issues:
Code
Link to Slack/Linen
No response