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-48118][SQL] Support SPARK_SQL_LEGACY_CREATE_HIVE_TABLE env variable #46369

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

This PR aims to support SPARK_SQL_LEGACY_CREATE_HIVE_TABLE env variable to provide users an easier migration path.

Why are the changes needed?

Like SPARK_ANSI_SQL_MODE for spark.sql.ansi.enabled, the platform providers can control the default value of spark.sql.legacy.createHiveTableByDefault configuration.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented May 3, 2024

cc @cloud-fan as the release manager of Apache Spark 4.0.0 (and preview)

@dongjoon-hyun
Copy link
Member Author

Could you review this SQL PR too for Apache Spark 4.0.0-preview, @viirya ?

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya !

@dongjoon-hyun
Copy link
Member Author

Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-48118 branch May 3, 2024 22:01
JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
…ariable

### What changes were proposed in this pull request?

This PR aims to support `SPARK_SQL_LEGACY_CREATE_HIVE_TABLE` env variable to provide users an easier migration path.

### Why are the changes needed?

Like `SPARK_ANSI_SQL_MODE` for `spark.sql.ansi.enabled`, the platform providers can control the default value of `spark.sql.legacy.createHiveTableByDefault` configuration.

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

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#46369 from dongjoon-hyun/SPARK-48118.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants