-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
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
Tdl 15582 check best practices #78
base: master
Are you sure you want to change the base?
Conversation
test/base.py
Outdated
"ticket_metrics": { | ||
self.PRIMARY_KEYS: {"id"}, | ||
self.REPLICATION_METHOD: self.INCREMENTAL, | ||
self.REPLICATION_KEYS: set() | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also invalid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ticket_comments
is child stream of tickets
, and tickets
is incremental stream. But ticket_comments
does not save its own bookmark. It fetches records based on the record of the parent stream. That's why it is incremental but does not have a replication key.
test/base.py
Outdated
"ticket_audits": { | ||
self.PRIMARY_KEYS: {"id"}, | ||
self.REPLICATION_METHOD: self.INCREMENTAL, | ||
self.REPLICATION_KEYS: set() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also invalid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ticket_comments
is child stream of tickets
, and tickets
is incremental stream. But ticket_comments
does not save its own bookmark. It fetches records based on the record of the parent stream. That's why it is incremental but does not have a replication key.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I resolved the comments where changes looked good, and followed up on the others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are good, thanks 👍
Description of change
Manual QA steps
Risks
Rollback steps