Ellis Valentiner
07/17/2025, 6:18 PMEdgar Ramírez (Arch.dev)
07/17/2025, 6:52 PMEllis Valentiner
07/17/2025, 7:14 PMrun
command?Edgar Ramírez (Arch.dev)
07/17/2025, 7:28 PM<TAP_NAME>__SELECT
Ellis Valentiner
07/17/2025, 7:45 PMEdgar Ramírez (Arch.dev)
07/17/2025, 10:54 PMmeltano config <plugin name> list --extras
Reuben (Matatika)
07/18/2025, 3:54 PMEllis Valentiner
07/18/2025, 4:12 PMtap-postgres--public
. Running meltano config tap-postgres--public list --extas
does show the TAP_POSTGRES__PUBLIC__SELECT
env var does update the config. Running meltano select tap-postgres--public --list
shows only the single table I included in the __SELECT
env var.
However meltano run
still raises a StreamMapConfigError
due to Invalid key properties for 'public_my-other-table': [my_other_table_key,database_id]. Property 'my_other_table_key' was not detected in schema.
for a table that is not selected.
I tried also setting the TAP_POSTGRES__PUBLIC__METADATA
env var to just have the single table I selected, however the error persists.
Next I thought I'd try setting TAP_POSTGRES__PUBLIC__USE_CACHED_CATALOG=false
but that also did not help and the same error persists.Ellis Valentiner
07/18/2025, 4:18 PMmeltano config tap-postgres--public list --extras
shows what I would expect for _metadata
but it seems to use the metadata from the yaml file insteadReuben (Matatika)
07/18/2025, 11:24 PMStreamMapConfigError
due to Invalid key properties for 'public_my-other-table': [my_other_table_key,database_id]. Property 'my_other_table_key' was not detected in schema.
for a table that is not selected.
I wonder if this is a result of https://github.com/meltano/sdk/issues/1942. I did open a draft PR with the intention of fixing, but haven't had the time to get back to it.
@Ellis Valentiner The original issue I posted is more to do with being able to configure an inherited plugin with the same environment variables you would for the base/parent plugin. So in your case, I guess the equivalent would be TAP_POSTGRES__SELECT='[...]' meltano run tap-postgres--public ...
which I'm pretty sure you aren't doing. meltano config <plugin> list
shows you where it is resolving values from:Reuben (Matatika)
07/18/2025, 11:25 PMmeltano.yml
appearing as "custom" extras here. 😅