<#2687 bug: `get_selected_schema` with selected su...
# meltano-repo-activity
g
#2687 bug:
get_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/sdk