Add fetch operations for synthetic source #270
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a
default_1k
operation to nyc_taxis to fetch 1,000documents. It adds that same operation to tsdb, and another one to fetch
10 documents, similar to nyc_taxis
default
operation. These are alluseful to test the fetch speed of synthetic source. Specifically it
tests fetching the same documents over and over again. That's useful!
It shows that, at least in this case, synthetic source is fast for
nyc_taxis:
That's lovely and surprising. It also shows that synthetic source is
slow for tsdb, which has many many many fields:
It'd be useful to also test fetching random docs too - probably more
useful and realistic. But this is also useful!