[Feature Request]Add a check to verify the required Spark confs
See original GitHub issueFeature request
Overview
We saw a few reported issues due to missing configs. We can add a check in DeltaLog to verify the following Spark confs.
--conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"
If these are not set, we can throw a user friendly error.
Motivation
Provide a user friendly error rather than throwing random weird errors.
Willingness to contribute
The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?
- Yes. I can contribute this feature independently.
- Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
- No. I cannot contribute this feature at this time.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Is there a way to validate the values of spark configs?
Running spark.conf.get('spark.sql.shuffle.partition') will return a value ==> without ... Is there a way to check if what I have used as config parameter...
Read more >Configuration - Spark 3.3.1 Documentation - Apache Spark
This is a useful place to check to make sure that your properties have been set correctly. Note that only values explicitly specified...
Read more >Spark Get the Current SparkContext Settings
In the below Spark example, I have added additional configuration to Spark using SparkConf and retrieve all default config values from SparkContext along...
Read more >Get and set Apache Spark configuration properties in a ...
However, there may be instances when you need to check (or set) the values of specific Spark configuration properties in a notebook. This ......
Read more >How do I ensure that my Apache Spark setup code runs only ...
To confirm that, you can check whether you have 2 tables created after ... you need to change the code so that block...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the clarification. I am working on it and will send the PR soon.
@zsxwing I can work on this feature. Please feel free to assign this to me.