Hi, I have a short question: Is it possible to im...
# troubleshooting
w
Hi, I have a short question: Is it possible to import only specific entities of a tap-csv extractor per meltano run? For example something like: docker run -v {PWD}:/project -w /project meltano/meltano elt tap-csv target-postgres --transform=skip --entity=plan --job_id=plan_data docker run -v {PWD}:/project -w /project meltano/meltano elt tap-csv target-postgres --transform=skip --entity=customer --job_id=customer_data
c
Extractors have the
select
plugin
extra
The extra can be specified in many different ways. I typically use either the
--select
cli parameter to
meltano elt
or the environment variable for the tap (e.g.
TAP_CSV__SELECT='["customer.*"]' meltano elt tap-csv target-postgres ......
) Documentation: https://docs.meltano.com/guide/configuration#plugin-extras
w
Hi Christoph, thank you very much for your answer. For whatever reason I can't make it run. How do you exactly use it as a cli parameter? I tried this:
Copy code
docker run -v {PWD}:/project -w /project meltano/meltano elt tap-csv target-postgres --transform=skip --job_id=plan_data --select=plan
c
The
--select
parameter is usually used liked this:
Copy code
meltano elt tap-csv target-postgres --select 'plan.*' --state-id=plan_data