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-30725][SQL] Make legacy SQL configs as internal configs #27448

Closed
wants to merge 1 commit into from

Conversation

MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Feb 4, 2020

What changes were proposed in this pull request?

All legacy SQL configs are marked as internal configs. In particular, the following configs are updated as internals:

  • spark.sql.legacy.sizeOfNull
  • spark.sql.legacy.replaceDatabricksSparkAvro.enabled
  • spark.sql.legacy.typeCoercion.datetimeToString.enabled
  • spark.sql.legacy.looseUpcast
  • spark.sql.legacy.arrayExistsFollowsThreeValuedLogic

Why are the changes needed?

In general case, users shouldn't change legacy configs, so, they can be marked as internals.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Should be tested by jenkins build and run tests.

@MaxGekk
Copy link
Member Author

MaxGekk commented Feb 4, 2020

@cloud-fan Please, take a look at this.

@MaxGekk MaxGekk changed the title [MINOR][SQL] Make legacy SQL configs as internal configs [SPARK-30725][SQL] Make legacy SQL configs as internal configs Feb 4, 2020
@SparkQA
Copy link

SparkQA commented Feb 4, 2020

Test build #117823 has finished for PR 27448 at commit aa8b8d9.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master/3.0!

@cloud-fan cloud-fan closed this in f2dd082 Feb 4, 2020
cloud-fan pushed a commit that referenced this pull request Feb 4, 2020
### What changes were proposed in this pull request?
All legacy SQL configs are marked as internal configs. In particular, the following configs are updated as internals:
- spark.sql.legacy.sizeOfNull
- spark.sql.legacy.replaceDatabricksSparkAvro.enabled
- spark.sql.legacy.typeCoercion.datetimeToString.enabled
- spark.sql.legacy.looseUpcast
- spark.sql.legacy.arrayExistsFollowsThreeValuedLogic

### Why are the changes needed?
In general case, users shouldn't change legacy configs, so, they can be marked as internals.

### Does this PR introduce any user-facing change?
No

### How was this patch tested?
Should be tested by jenkins build and run tests.

Closes #27448 from MaxGekk/legacy-internal-sql-conf.

Authored-by: Maxim Gekk <max.gekk@gmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit f2dd082)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
@MaxGekk MaxGekk deleted the legacy-internal-sql-conf branch June 5, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants