Repository navigation
Conversation
467d51b to
5095b51
Compare
|
The build check is currently failing, but even with my changes reverted it still fails on the same test So I am assuming it's unrelated |
| None, | ||
| None | ||
| None, | ||
| properties.get("jarsAsUrls").map(_.toLowerCase.trim != "false") |
There was a problem hiding this comment.
Did you intend for this to be configurable as a "magic" spark configuration? That's what this does.
There was a problem hiding this comment.
No to be honest i just looked at how spark submit args worked and emulated that. I see PolynoteConfigSpec still passes even without this. So i'll remove it
|
This LGTM for now. Certainly having a way to control that behavior is better than not having a way. Thanks @jelmerk! @jonathanindig it looks like there's a new (probably unrelated to this change) failure in the Let me explain the reason for the current behavior and suggest what I'd like to have in the future. The reason we pass the URLs to Ideally, the decision of how to pass the dependencies to Both of those options are a lot of hassle, so I'm fine with just an either-or configuration for now. |
Looks like a new version of I'll take a look at what changed (and freeze our CI build dependencies) |
I think this portion alone could be relatively easy to implement, as we already have a I think this would make more sense than putting the setting in the Spark config, especially as a global setting would affect, say, S3 paths as well as repository paths. |
Fixed now. |
… a "magic" spark configuration? That's what this does.
|
rebased on top of the current master branch and the build is green now |
Is this alternative more to your liking ? |
Change that resolves #1009
By default polynote will pass the notebook dependencies to spark via the
spark.jarsproperty as urls to the repository manager as shown in the screenshot belowThis pull request introduces a new element in the spark configuration called
jars_as_urlswhen set to false it will use files instead as shown in the screenshot below