-
Notifications
You must be signed in to change notification settings - Fork 4
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
Employ base tables to resolve unioning-null issue #25
Conversation
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.
@fivetran-jamie I haven't finished the review, but wanted to call out this one comment regarding the join to make sure we're taking the appropriate approach.
@@ -29,7 +29,7 @@ final as ( | |||
"grouped.comments_group_markdown"]) }} | |||
as chunk | |||
from deal_document | |||
join grouped | |||
inner join grouped |
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.
It looks like in PR #24 @levonkorganyan is proposing to change this to a left
join instead. Let's sync to make sure we're making the right update.
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.
Bumping this message as this is the only other remaining question in this PR before approval.
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.
pinged Levon in his PR
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.
@fivetran-jamie this PR looks great! I have two callouts that I'd like to be looked into before approval. Let me know if you have any questions!
@@ -29,7 +29,7 @@ final as ( | |||
"grouped.comments_group_markdown"]) }} | |||
as chunk | |||
from deal_document | |||
join grouped | |||
inner join grouped |
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.
Bumping this message as this is the only other remaining question in this PR before approval.
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.
LGTM!
Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com>
- `int_rag_hubspot__deal_document` | ||
- `int_rag_jira__issue_document` | ||
- `int_rag_zendesk__ticket_document` | ||
|
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.
@fivetran-jamie Since Levon contributed this PRto this release, we should probably add him as a contributor?
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.
added!
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.
@fivetran-jamie Some questions before final approval.
Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>
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.
lgtm
PR Overview
This PR will address the following Issue/Feature:
#22
This PR will result in the following new package version:
v0.1.0-a7
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
Bug Fixes
*_base
counterpart in which we are running ourunion_data
macro. This framework is necessary to the cooperation of our unioning and column-filling macros, which ensure the models do not fail if you are missing an expected column.PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
Before marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
Running on prod using the the union schema/db variables (without the single schema variable set) on test data:

Running the same configs with this branch:

As for the consistency data validation tests, I am getting a peculiar error that makes it seem like this PR is resolving another bug 🤔
This is an example
chunk
from prod. Note the UNKOWN comment detailsThe same record in dev differs only in that it has known comment details
This is the case for all failed rows. They are different on dev bc they are more seemingly complete
If you had to summarize this PR in an emoji, which would it be?
💒