Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This is a followup of #39248 , to add one more code cleanup. The expression initialization code is duplicated 6 times and we should put it in the base class.

Why are the changes needed?

code cleanup

Does this PR introduce any user-facing change?

no

How was this patch tested?

existing tests

@cloud-fan cloud-fan marked this pull request as ready for review January 3, 2023 12:28
@github-actions github-actions bot added the SQL label Jan 3, 2023
}

override def initialize(partitionIndex: Int): Unit = {
expressions.foreach(_.foreach {
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 was a mistake in #39248 . We should initialize the final exprs, not expressions

@cloud-fan
Copy link
Contributor Author

cc @viirya

@viirya viirya closed this in 23aec32 Jan 3, 2023
@viirya
Copy link
Member

viirya commented Jan 3, 2023

Thanks. Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants