We can set for example:
spark.conf.set('aaa.test.junk.config', 99999) , and then run spark.conf.get("aaa.test.junk.config”) which will return a value.
The problem occurs when incorrectly setting to a similar matching property.
spark.conf.set('spark.sql.shuffle.partition', 999) ==> without the trailing ’s'
Where the actual property is: ‘spark.sql.shuffle.partitions' ==> has a training ’s’
Running spark.conf.get('spark.sql.shuffle.partition’) will return a value ==> without the trailing ’s'
I thought I could run the getAll() as a validation, but the getAll() may not return properties that are explicitly defined in a Notebook session.
Is there a way to check if what I have used as config parameter is actually valid or not? I don't see any error message either