TypeLoadException in UDF #817
Answered
by
quarkonium3
quarkonium3
asked this question in
Q&A
Replies: 2 comments 11 replies
-
Hi @quarkonium3 Thanks for your question! Have you set |
Beta Was this translation helpful? Give feedback.
6 replies
-
Ok sent
…On Thu, Feb 4, 2021 at 11:27 PM Niharika Dutta ***@***.***> wrote:
Could you send it to this email id - ***@***.*** ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#817 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKN7NQU7MTC23SGQCLYNM73S5KHEPANCNFSM4W4IIWDQ>
.
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
quarkonium3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to work up a project calling into some of our existing .net code using a UDF. At the moment I'm just using the example spark-submit on single windows 10 machine (spark 3.0.1):
spark-submit --class org.apache.spark.deploy.dotnet.DotnetRunner --master local microsoft-spark-3-0_2.12-1.0.0.jar dotnet SparkExec.dll
Simpler examples work as expected, however trying to call the UDF fails with the following:
---> System.TypeLoadException: Could not load type 'System.IO.Path' from assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
This doesn't make a great deal of sense to me. Normally I think of this as meaning it doesn't know where to load the type from the assembly, but it it can successfully call the same assembly outside the UDF. I'm at a bit of a loss how to diagnose further.
Any help appreciated
Beta Was this translation helpful? Give feedback.
All reactions