-
Notifications
You must be signed in to change notification settings - Fork 447
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
Run cells with specific language #892
base: master
Are you sure you want to change the base?
Conversation
@devstein would you mind taking a look at this? |
Hey @shay1bz 👋 sorry for the late response. Are you still opening to contributing? I can help with testing. We'll also want to add an example notebook |
Hi @devstein . Yes, I’d be happy to move this PR forward. We've been using it in my organization for a while, and it’s proven to be very useful. |
@shay1bz Amazing 🙌 Let me know how I can help |
@devstein I can provide the example notebook, but I'll need some assistance with writing the unit tests. From my perspective, we mainly need to verify that the language parameter, when specified, is correctly passed to the Livy HTTP request. |
Hi @devstein, I have added an example notebook. How can we move forward? |
Description
Addresses the same functionality as #598 but with some differences, this PR is for allowing users to execute cells with specific languages against the same Spark Session. Given that #598 is nearly 5 years old and seems abandoned, this implementation provides a minimal, backward-compatible solution.
Due to a lack of familiarity with the sparkmagic code base, no tests have been added. I kindly request guidance on how to implement unit tests.
The changes have been manually tested on a notebook, ensuring compatibility with shared DataFrames and UDFs between Scala and Python.
Checklist
black
CHANGELOG.md
fileREADME.md
file