We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Targets (data type handling, batching, SQL object generation, etc.)
Many targets in the Singer ecosystem (target-snowflake is one) support the following settings or some variant of them:
batch_size_rows
The Singer SDK currently only allows target developers to configure the maximum size of a batch via an attribute:
sdk/singer_sdk/sinks/core.py
Line 45 in 43f7323
By making this configurable, users would have better control of the resources in a constrained environment (i.e. low memory).
batch_wait_limit_seconds
Sink.is_full
Sink.MAX_SIZE_DEFAULT
Sink.is_too_old
TargetBase
The text was updated successfully, but these errors were encountered:
Requested by multiple people in slack. We may want to do this as part of v1
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Feature scope
Targets (data type handling, batching, SQL object generation, etc.)
Description
Prior art
Many targets in the Singer ecosystem (target-snowflake is one) support the following settings or some variant of them:
batch_size_rows
.Current SDK support
The Singer SDK currently only allows target developers to configure the maximum size of a batch via an attribute:
sdk/singer_sdk/sinks/core.py
Line 45 in 43f7323
By making this configurable, users would have better control of the resources in a constrained environment (i.e. low memory).
Proposal
batch_size_rows
andbatch_wait_limit_seconds
Sink.is_full
to usebatch_size_rows
and fall back toSink.MAX_SIZE_DEFAULT
ifbatch_size_rows
is not configuredSink.is_too_old
to check againstbatch_wait_limit_seconds
TargetBase
class to make use of the new method that checks the batch TTLRelated
The text was updated successfully, but these errors were encountered: