Closed zprobst closed 5 months ago
Attention: Patch coverage is 94.73684%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 97.58%. Comparing base (
5e099b0
) to head (12a65b3
).
Files | Patch % | Lines |
---|---|---|
nodestream/databases/writer.py | 66.66% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR Fixes two issues:
If you have two pipelines; one that says a property is a key and another that says it only knows the property as a property, the order of operations takes precedence. This occurs when using a match only clause. If we know something is a key, it needs to be defined as such. Same thing with indexes.
Currently we are passing writer configurations (such as
batch_size
) through the target. Currently these values are getting passed as part of the the connector configuration directly to the writer that is able to sort through these arguments and use them. However, with the addition of theMigrator
, these configuration values are treated as invalid. This PR shuffles the writer configuration values as well the connector specific values away from one another and only sends the writer arguments when appropriate.