-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add batch implementations for CDM (Synapse Link) #119
Conversation
Minimum allowed coverage is Generated by 🐒 cobertura-action against 7bdafe1 |
|
||
override val batchQuery: OverwriteQuery = SynapseLinkBackfillQuery(targetName, reduceExpr) | ||
|
||
def archiveExpr: String = s"INSERT OVERWRITE ${targetName}_stream_archive $reduceExpr" |
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.
The archive table name should be a parameter
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.
Will send a PR for this
override val batchQuery: MergeQuery = | ||
SynapseLinkMergeQuery(targetName = targetName, sourceQuery = reduceExpr, partitionValues = partitionValues, mergeKey = mergeKey, columns = schema.map(f => f.name)) | ||
|
||
def archiveExpr: String = s"INSERT INTO ${targetName}_stream_archive $reduceExpr" |
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.
duplicate?
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.
No it's archive for a different batch type
No description provided.