I have troubles in understanding the tap `tap-csv`...
# getting-started
d
I have troubles in understanding the tap
tap-csv
. In my expectations i have different types of
csv
in my projects. For example one for
order
and one for
customer
, just to make it very simple. Now that there is exactly ONE extractor
tap-csv
, how can i make it configurable so that i for example load the order to mysql while i would like to send the customer to a email-target? I would expect something like this
meltano run tap-csv --file=order.csv target-mysql
and
meltano run tap-csv --file=customer.csv target-email
. It seems like a very obivious requirement. So where is my error?
m
you can use plugin inheritance, you can define two more extractors (Ex.
tap-csv--order
and
tap-csv--customer
) inheriting from
tap-csv
d
Ah thanks. I was not aware of this concept.