Skip to content
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

update smb multi join code gen to the latest #4702

Merged

Conversation

farzad-sedghi
Copy link
Contributor

updated the code generator for SMBMultiJoin.scala to reflect the latest manual changes

@@ -57,7 +57,7 @@ def mkCogroupFnRetVal(n, aWrapper=None, otherWrapper=None):

def mkTransformFnRetVal(n, aWrapper=None, otherWrapper=None):
vals = fnRetValHelper(n, aWrapper, otherWrapper)
return 'SortedBucketScioContext#SortMergeTransformReadBuilder[KEY, (%s)]' % ', '.join(vals)
return 'SortedBucketScioContext#SortMergeTransformReadBuilder[KEY, KEY, Void, (%s)]' % ', '.join(vals)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this call outdated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is what was changed manually when adding the secondary SMB sort key I believe

Copy link
Contributor

@RustedBones RustedBones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. is running the script creating any diff ?

@farzad-sedghi
Copy link
Contributor Author

LGTM. is running the script creating any diff ?

no after formatting both sides have zero diffs

@farzad-sedghi farzad-sedghi merged commit 6c1495b into spotify:main Feb 10, 2023
@farzad-sedghi farzad-sedghi deleted the multijoin-py-script-update branch February 10, 2023 15:04
farzad-sedghi added a commit to farzad-sedghi/scio that referenced this pull request Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants