Skip to content

Conversation

@Ngone51
Copy link
Member

@Ngone51 Ngone51 commented Dec 17, 2021

What changes were proposed in this pull request?

This PR proposes to set outputEncoder to None for ScalaUDF.preCanonicalized.

Why are the changes needed?

We once did the same thing to inputEncoders in #29106 to fix a bug where the canonicalized ScalaUDFs for the same ScalaUDF becomes different after resolving inputEncoders. So this PR applies the same fix to outputEncoder to avoid hitting the same issue in the future. Note that we don't have the issue caused by outputEncoder now since we don't resolve outputEncoder yet.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass existing tests.

@Ngone51 Ngone51 requested a review from cloud-fan December 17, 2021 13:59
@github-actions github-actions bot added the SQL label Dec 17, 2021
@SparkQA
Copy link

SparkQA commented Dec 17, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50808/

@SparkQA
Copy link

SparkQA commented Dec 17, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50808/

@SparkQA
Copy link

SparkQA commented Dec 17, 2021

Test build #146334 has finished for PR 34937 at commit 174a6f9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in f76ee18 Dec 20, 2021
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.

3 participants