Hello, we're encountering problems while handling ...
# singer-tap-development
s
Hello, we're encountering problems while handling a nested field that is not present in every record. We're using "typing" and building a schema with PropertiesList for a stream named "orders" The field which is raising the warning is named "OrderTotal" and has two child-entries "CurrencyCode" and "Amount". Our structure is the following:
schema = th.PropertiesList(
th.Property("...", th.StringType),
...
th.Property("OrderTotal", th.ObjectType(
th.Property("CurrencyCode", th.StringType),
th.Property("Amount", th.NumberType)
)
),
...
)
When we run the tap, we receive the two following warnings, only once per run:
time=2021-06-23 13:30:20 name=tap-test level=WARNING message=Catalog entry missing for 'orders':'('properties', 'OrderTotal', 'properties', 'CurrencyCode')'. Using parent value of selected=True.
time=2021-06-23 13:30:20 name=tap-test level=WARNING message=Catalog entry missing for 'orders':'('properties', 'OrderTotal', 'properties', 'Amount')'. Using parent value of selected=True.