Are the Spark.NET 3.5.1 works in Polyglot notebook for UDF examples? #1179
Replies: 4 comments 3 replies
-
@GeorgeS2019 It does not. It tries to get entire declaring type, which is anonymous assembly that only exists within interactive session context. Code expects declaring assembly for UDF to be accessible: Notebooks without UDFs and broadcasts work fine. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I’ve made some progress in understanding the interaction, though it’s still not entirely clear. Here’s what I’ve gathered so far: Dotnet.Spark contains a separate solution for this already, The only problem i faced is that it doesn't work, it relies on Dotnet.Interactive API Thanks @GeorgeS2019 for creating issue in interactive, let's wait and see if they can point us with this exception. |
Beta Was this translation helpful? Give feedback.
-
The constructor is private. But also this class will likely be made internal as part of API stabilization. The .NET Interactive API shouldn't really be responsible for providing this kind of utility code to consumers. I'd recommend cloning the functionality as needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
#1199

@grazy27
4. User-Defined Functions
Previously in older version, it is not possible to work in the UDF notebook. Not sure if the latest 3.5.1 overcomes this limitation
https://github.com/Apress/introducing-.net-for-apache-spark

Beta Was this translation helpful? Give feedback.
All reactions