-
Is there a way to pass variables into the %%configure cell? What's the best way to set credentials for the spark config in the spark session? Eg:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @flowy0 -- there is no way to parameterize the `%%configure`` cell. There are two common approaches to setting credentials
Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
I did try to set config in a separate cell, but it did not seem to take effect, is there something specifically about how the spark context is created (so this method does not work)? in the cell below
After running this, I couldn't find the updated spark context by running |
Beta Was this translation helpful? Give feedback.
Sorry, managed to fix this issue by using the command below instead.
Check Config is applied