GitHub
09/25/2024, 6:31 PMget_selected_schema with selected sub-properties
Issue created by ReubenFrankel
Singer SDK Version
0.39.1
Is this a regression?
• Yes
Python Version
3.8
Bug scope
Taps (catalog, state, etc.)
Operating System
Ubuntu 22.04
Description
Given a meltano.yml with the following select rules
select:
- geo.*
calling get_selected_schema from the tap returns a schema with empty properties
{'properties': {}, 'type': 'object'}
whereas with these rules
select:
- geo
- geo.*
all properties of geo are present
{'properties': {'geo': {'properties': {'city': {'type': ['string', 'null']}, 'country': {'type': ['string', 'null']}, 'continent': {'type': ['string', 'null']}, 'region': {'type': ['string', 'null']}, 'sub_continent': {'type': ['string', 'null']}, 'metro': {'type': ['string', 'null']}}, 'type': ['object', 'null']}}, 'type': 'object'}
For the first example, I expected all sub-properties of geo to be present (as in the second example). Is this a bug, or expected behaviour?
Code
No response
Link to Slack/Linen
No response
meltano/sdkGitHub
09/26/2024, 8:34 AMget_selected_schema with selected sub-properties
Issue closed as completed by ReubenFrankel
meltano/sdk