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-34616 requireDbExists is called too many times #50078

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sohurdc
Copy link

@sohurdc sohurdc commented Feb 25, 2025

SPARK-34616
Almost all SQL need to check if database exist before execution.

Additionally, when Spark SQL reads Hive tables across databases, the logic for checking whether the database exists can also lead to permission issues.

This PR aims to disable the database existence check logic by introducing the configuration option --conf spark.sql.requireDbExists.enabled=false

@github-actions github-actions bot added the SQL label Feb 25, 2025
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.

1 participant