Trying to install the <transferwise variant> of ta...
# plugins-general
s
Trying to install the transferwise variant of target-bigquery, but I’m getting an error that Meltano doesn’t know about it. Why wouldn’t meltano know about it if it’s on the meltano hub?
Copy code
(meltano) ➜  tap-quickbase-json git:(main) ✗ poetry run meltano install
2022-05-23T16:59:57.151541Z [info     ] Environment 'dev' is active
Loader 'target-bigquery' variant 'transferwise' is not known to Meltano. Variants: adswerve (default)
a
Hi, @sterling_paramore - For a very short while longer, you'll need to add this as a 'custom' plugin.
With our 2.0 release, the "add from hub" feature will enable adding directly anything listed there.
s
I tried that too but got the same error
Copy code
(meltano) ➜  tap-quickbase-json git:(main) ✗ meltano add --custom loader target-bigquery --variant transferwise
2022-05-23T17:10:05.774873Z [info     ] Environment 'dev' is active
Adding new custom loader with name 'target-bigquery'...

Specify the plugin's namespace, which will serve as the:
- identifier to find related/compatible plugins
- default target database dialect (`dialect` extra),
  for use by transformers that connect with the database

Hit Return to accept the default: plugin name with underscores instead of dashes

(namespace) [target_bigquery]:

Specify the plugin's `pip install` argument, for example:
- PyPI package name:
	target-bigquery
- Git repository URL:
	git+https://<PLUGIN REPO URL>.git
- local directory, in editable/development mode:
	-e extract/target-bigquery
- 'n' if using a local executable (nothing to install)

Default: plugin name as PyPI package name

(pip_url) [target-bigquery]: pipelinewise-target-bigquery

Specify the plugin's executable name

Default: name derived from `pip_url`

(executable) [pipelinewise-target-bigquery]: target-bigquery

Specify the loader's supported settings

Multiple setting names (keys) can be separated using commas.

A setting kind can be specified alongside the name (key) by using the `:` delimiter,
e.g. `port:integer` to set the kind `integer` for the name `port`

Supported setting kinds:
string | integer | boolean | date_iso8601 | email | password | oauth | options | file | array | object | hidden

- Credentials and other sensitive setting types should use the password kind.
- If not specified, setting kind defaults to string.
- Nested properties can be represented using the `.` separator, e.g. `auth.username` for `{ "auth": { "username": value } }`.
- To find out what settings a loader supports, reference its documentation.

Default: no settings

(settings) [[]]: { "uhm": "string" }
' "string" }' is not a valid SettingKind
(settings) [[]]: uhm:string
Loader 'target-bigquery' already exists in your Meltano project
Loader 'target-bigquery' variant 'transferwise' is not known to Meltano. Variants: adswerve (default)
e
Hi @sterling_paramore. You might need to first
meltano remove
the
target-bigquery
already present in your project
s
I was able to get it working by just removing the lines from meltano.yml. Does
meltano remove
do anything else?
e
It also removes the plugin's venv and any settings stored in meltano's system db. But what you did is usually fine