Danilo Campana Fuchs
11/06/2024, 3:32 PMmeltano add loader target-postgres --variant transferwise is not updated anymore:
https://pypi.org/project/pipelinewise-target-postgres/
The original repository is archived https://github.com/transferwise/pipelinewise-target-postgres
And was moved to https://github.com/transferwise/pipelinewise/tree/master/singer-connectors/target-postgres but does not publish to pip anymoreEdgar Ramírez (Arch.dev)
11/06/2024, 3:34 PMpip_url to point to the pipelinewise subdirectory instead of PyPI, and we'll have to update our Hub plugins. Let me try it out.Danilo Campana Fuchs
11/06/2024, 3:35 PM- name: target-postgres
      namespace: target_postgres
      pip_url: git+<https://github.com/transferwise/pipelinewise.git#subdirectory=singer-connectors/target-postgres>
      config:
        host: db-warehouse
        user: meltano
        dbname: data_warehouse
        add_metadata_columns: true
        default_target_schema: misc
However, env variables such as TARGET_POSTGRES_HOST are not accessible by the plugin
And load_schema is also not working, all taps go to the default_target_schemaEdgar Ramírez (Arch.dev)
11/06/2024, 3:36 PMnamespace?Danilo Campana Fuchs
11/06/2024, 3:37 PMmeltanolabs variantDanilo Campana Fuchs
11/06/2024, 3:37 PMtransferwise , it uses the pip versionEdgar Ramírez (Arch.dev)
11/06/2024, 3:37 PMtransferwiseEdgar Ramírez (Arch.dev)
11/06/2024, 3:38 PMIf I set the variant toeven with the updated, it uses the pip versiontransferwise
pip_url?Danilo Campana Fuchs
11/06/2024, 3:41 PMtransferwise makes the config and load_schema work as expected!
I verified the tap is correctly using the version from git by checking if a bug merged yesterday was fixedDanilo Campana Fuchs
11/06/2024, 3:41 PMEdgar Ramírez (Arch.dev)
11/06/2024, 3:52 PMpip_url approach works!
Let me know if there other pipelinewise connectors you use or know of that we should update: https://github.com/meltano/hub/issues/1887.Danilo Campana Fuchs
11/06/2024, 3:55 PMDanilo Campana Fuchs
11/06/2024, 3:55 PM