Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This is a followup of #30412. This PR updates the error message of char/varchar table insertion length check, to not expose user data.

Why are the changes needed?

This is risky to expose user data in the error message, especially the string data, as it may contain sensitive data.

Does this PR introduce any user-facing change?

no

How was this patch tested?

updated tests

@cloud-fan cloud-fan changed the title [SPARK-33480][SQL] do not expose user data in error message [SPARK-33480][SQL][FOLLOWUP] do not expose user data in error message Dec 7, 2020
@cloud-fan
Copy link
Contributor Author

@SparkQA
Copy link

SparkQA commented Dec 7, 2020

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

@SparkQA
Copy link

SparkQA commented Dec 7, 2020

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

@github-actions github-actions bot added the SQL label Dec 7, 2020
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. (Pending CIs)

@SparkQA
Copy link

SparkQA commented Dec 7, 2020

Test build #132380 has finished for PR 30653 at commit 9f42117.

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

dongjoon-hyun pushed a commit that referenced this pull request Dec 7, 2020
### What changes were proposed in this pull request?

This is a followup of #30412. This PR updates the error message of char/varchar table insertion length check, to not expose user data.

### Why are the changes needed?

This is risky to expose user data in the error message, especially the string data, as it may contain sensitive data.

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

updated tests

Closes #30653 from cloud-fan/minor2.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit c0874ba)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member

Merged to master/3.1.

@maropu
Copy link
Member

maropu commented Dec 8, 2020

late lgtm

@HyukjinKwon
Copy link
Member

LGTM, nice.

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.

5 participants