Skip to content

Conversation

@gengliangwang
Copy link
Member

What changes were proposed in this pull request?

After #31954, Array type is allowed to be cast as String type. So the customized conversion failure message branch from AnsiCast.typeCheckFailureMessage won't be reached anymore.
This PR is to remove the dead code.

Why are the changes needed?

Code clean up.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Just removing dead code.

@gengliangwang gengliangwang requested a review from cloud-fan March 30, 2021 13:09
@SparkQA
Copy link

SparkQA commented Mar 30, 2021

Kubernetes integration test unable to build dist.

exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41300/

@gengliangwang
Copy link
Member Author

retest this please.

@gengliangwang
Copy link
Member Author

^^^ I haven't sent this jenkins command for months...Have to do it since GA is slow now.

Copy link
Member

@MaxGekk MaxGekk left a comment

Choose a reason for hiding this comment

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

LGTM, I wonder don't we have any test for the "dead" code?

@gengliangwang
Copy link
Member Author

I wonder don't we have any test for the "dead" code?

@MaxGekk The error message of casting array type to string is not checked in #30260. Sorry about that.

@SparkQA
Copy link

SparkQA commented Mar 30, 2021

Kubernetes integration test unable to build dist.

exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41310/

@SparkQA
Copy link

SparkQA commented Mar 30, 2021

Test build #136718 has finished for PR 32004 at commit 93fea67.

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

@srowen
Copy link
Member

srowen commented Mar 30, 2021

Merged to master

@srowen srowen closed this in c902f77 Mar 30, 2021
@SparkQA
Copy link

SparkQA commented Mar 30, 2021

Test build #136729 has finished for PR 32004 at commit 93fea67.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@github-actions github-actions bot added the SQL label Mar 30, 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.

8 participants