I have some problems regarding the local use of ta...
# troubleshooting
r
I have some problems regarding the local use of tap-athena Let me describe, When using the meltanolabs tap-athena I follow this steps: 1. I define meltano.yml with this config
Copy code
plugins:
  extractors:
  - name: tap-athena
    variant: meltanolabs
    pip_url: git+<https://github.com/MeltanoLabs/tap-athena.git>
2. Run meltano install 3. I define the environment variables 4. I run a discover with
meltano invoke tap-athena --discover
and it works normally (image 1) 5. Now I create a folder called
custom
and clone the git repository with
git clone <https://github.com/MeltanoLabs/tap-athena.git>
6. Delete the meltano environment with
rm -rf .meltano
7. I set meltano.yml to the settings for local execution
Copy code
plugins:
  extractors:
  - name: tap-athena
    namespace: tap_athena
    pip_url: -e ./custom/tap-athena
    executable: tap-athena
8. I install the meltano tools with
meltano install
and works well 9. I run a discover with
meltano invoke tap-athena --discover
and the tap cannot get the same variables (image 2)
image2:
r
You need to define
settings
for the custom plugin in the
meltano.yml
(for non-custom plugins, these are provided in a
.lock
file):
Copy code
plugins:
  extractors:
  - name: tap-athena
    namespace: tap_athena
    pip_url: -e ./custom/tap-athena
    executable: tap-athena
    settings:
    - name: ...
    - name: ...
      kind: ...
    - name: ...
      value: ...
Without
settings
, you'll probably see that Meltano reports the configuration you are providing as
Custom, possibly unsupported by the plugin
with
Copy code
meltano config tap-athena list
r
oh, thanks this works well now I have another problem that only occurs on the local tap (following the same steps of previous explanation) command: meltano select tap-athena --list --all image 1 -> remote repo image 2 and 3 -> local repo
log.txt
r
Maybe an artifact of setting
executable
where you might not need/want it? Try removing that line and running
Copy code
meltano install --clean extractor tap-athena
r
this command not solve my problem but defining the capabilities in meltano.yml works well! i follow the same logic of ur previous tip thank u so much
👍 1