<#799 When stream_maps has an unused "mapper" the ...
# meltano-repo-activity
g
#799 When stream_maps has an unused "mapper" the tap / mapper should fail Issue created by visch Let's say I mistype the value for
__source__
Copy code
{
    "stream_maps": {
        "customers_remove_pii": {
            "__source__": "customerrr",
        },
    },
}
The correct source value in this case would be
customer
. Stream maps doesn't let you know that anything is wrong. I think the mapper should fail in this case and say the
customerrr
source doesn't exist. I understand that sometimes you may not be selecting
customer
and may want this to not fail, but I think we could check the
catalog
to be sure
customer
exists when doing a
stream_map
as it could be very important that this continues to work. In that case we could print a warning? Or info saying something like "There is a stream map for the customer stream but the stream is not currently selected" This made a seperate problem I was having harder to track down so thought I'd throw it in! meltano/sdk