dean_morin
09/04/2024, 12:45 AMdean_morin
09/04/2024, 12:46 AMvisch
09/04/2024, 1:28 PMHad there been noRunning that code myself on the latest version of Meltano it doesn't work. This is definitely a regression, could you submit a bug report? To make this work you kinda have to stand on one leg as the issue is lock files don't seem to generate properly when you just do the lock file command 1.plugin in the project yet,target-snowflake
would necessarily refer to the discoverable plugin, but without ainherit_from: target-snowflake
the original variant would have been used rather than the default or a specific chosen one, just like when shadowing with avariant
but noname
.variant
meltano add extractor tap-postgres
2. meltano add extractor tap-postgres--transferwise --inherit-from tap-postgres --variant transferwise
3. now meltano install will work, and meltano lock --update --all
works as the wise variant is generated properly
Working yml file
version: 1
default_environment: dev
project_id: dd8fe0cf-30c1-4e6d-b74c-f68ac5fac7fd
plugins:
extractors:
- name: tap-postgres
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-postgres.git>
- name: tap-postgres--transferwise
inherit_from: tap-postgres
variant: transferwise
pip_url: pipelinewise-tap-postgres
Weird one for sure, comes down to lock filesvisch
09/04/2024, 1:34 PMdean_morin
09/04/2024, 8:23 PMdean_morin
09/04/2024, 11:45 PMmeltano add
, so I edited meltano.yml
after and edited in the plugin lock files as well. However, after running meltano install
it was the non-forked version that was installedvisch
09/05/2024, 12:56 PMvisch
09/05/2024, 12:57 PMdean_morin
09/05/2024, 4:10 PM