square-activity-64562
07/16/2021, 10:56 AMgray-shoe-75895
07/16/2021, 5:03 PMsquare-activity-64562
07/16/2021, 5:08 PMdb_name is not a property but part of uri. So a string replacement might have worked but it could break other things. Might be a different way to write the transformer that did not occur to me.
From what I could see in the code the sql source could easily use this by default and in other cases (like bigquery) where something else (like gcp project) makes more sense can override the method. That way this option won't be per source and we don't need a separate transformer. But I did not have all sources to test out so did it for postgres only. Should be medium-ish effort to make it in the super class. Just need to be able to run the integration testgray-shoe-75895
07/16/2021, 5:11 PM