How can i use the same spark session from onenotebook to another notebook in databricks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 03:33 AM
I want to use the same spark session which created in one notebook and need to be used in another notebook in across same environment,
Example, if some of the (variable)object got initialized in the first notebook, i need to use the same object in the another notebook.
I am aware of, we can use the other notebook function by using %run(magic command), likewise if i want to use sparksession of onenotebook in another notebook?