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

Make some update queries determinate #593

Merged
merged 8 commits into from
Oct 20, 2021

Conversation

VinaiRachakonda
Copy link
Contributor

No description provided.

@@ -123,8 +123,8 @@ func (u *updateSourceIter) Close(ctx *sql.Context) error {
}

func (u *UpdateSource) getChildSchema() (sql.Schema, error) {
if j, ok := u.Child.(JoinNode); ok {
return j.Schema(), nil
if ok := nodeHasJoin(u.Child); ok {
Copy link
Member

Choose a reason for hiding this comment

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

No need to use the assignment syntax here, just

if nodeHasJoin(...) {

@VinaiRachakonda VinaiRachakonda merged commit 4b5e169 into main Oct 20, 2021
@Hydrocharged Hydrocharged deleted the vinai/make-tests-determinate branch December 8, 2021 07:13
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.

2 participants