I want to extract limited data(say first 1000 rows...
# announcements
b
I want to extract limited data(say first 1000 rows) from the database in the ELT. Is there a way to do it??
v
The tap would have to support that, I'm not sure how common or uncommon it is.
t
@boopathy_raja_thirugnanasigha are you trying to limit the amount for testing or for another purpose?
b
@taylor testing only!
Also is there any possible, I can filter out data of certain period of time alone
t
Checkout https://gitlab.com/meltano/meltano/-/issues/2640 and some of the linked issues. We don’t have a `--test`flag in yet but it’s on our radar. To your 2nd point, we generally make the assumption that you want to get most all of the data in. You can set a backfill date on some taps but there’s currently no filter option like you’re asking for. We are thinking about some generic plugin that could be used in between the extract and load steps
b
Thank U @taylor
a
@boopathy_raja_thirugnanasigha Hey I ran into this same issue, if your tap supports a --state, generate a state.json file and pass it thru. Then your tap will only pull from a sub set that you defined in the state.