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

[SPARK-32406][SQL][FOLLOWUP] Make RESET fail against static and core configs #29297

Closed
wants to merge 2 commits into from
Closed

[SPARK-32406][SQL][FOLLOWUP] Make RESET fail against static and core configs #29297

wants to merge 2 commits into from

Conversation

yaooqinn
Copy link
Member

@yaooqinn yaooqinn commented Jul 30, 2020

What changes were proposed in this pull request?

This followup addresses comments from #29202 (comment)

  1. make RESET static SQL configs/spark core configs fail as same as the SET command. Not that, for core ones, they have to be pre-registered, otherwise, they are still able to be SET/RESET

  2. add test cases for configurations w/ optional default values

Why are the changes needed?

behavior change with suggestions from PMCs

Does this PR introduce any user-facing change?

Yes, RESET will fail after this PR, before it just does nothing because the static ones are static.

How was this patch tested?

add more tests.

@yaooqinn
Copy link
Member Author

cc @gatorsmile @cloud-fan @dongjoon-hyun @maropu thanks very much.

@SparkQA
Copy link

SparkQA commented Jul 30, 2020

Test build #126808 has started for PR 29297 at commit 87cc7d0.

@SparkQA
Copy link

SparkQA commented Jul 31, 2020

Test build #126846 has finished for PR 29297 at commit 406c101.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yaooqinn
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jul 31, 2020

Test build #126868 has finished for PR 29297 at commit 406c101.

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

@HyukjinKwon
Copy link
Member

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
4 participants